pline to mline conversion
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
pline to mline conversion

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
irfan
Guest





Posted: Wed Mar 23, 2005 7:24 pm    Post subject: pline to mline conversion Reply with quote

hi, all

has someone got some code to convert plines into mlines please, if not can u suggest me how to avoid the following problem:

In simple terms, i have a pline and a circle with hatch. When i turn fillmode off, the hatch in the circle also turns off which i actually donot want. All i wanted is to remove fill from Pline but fillmode inherently effects both.

TIA
Irfan

Back to top
David Kozina
Guest





Posted: Wed Mar 23, 2005 8:03 pm    Post subject: Re: pline to mline conversion Reply with quote

irfan,

Terry Dotson's ToolPac can convert plines to mlines:
www.dotsoft.com

I have my own AutoLISP code to do that, too, but it is not exactly fit for
human consumption, presently, and I think it would probably hinder you more
than help you.

One way I can think of to accomplish your request is to extract the pline
object's vertices and use that list of points to create the mline object.
Set the Current MLine Justification and MLStyle SysVars as needed ahead of
time. (You may need to take into consideration other factors, such as UCSs,
the OCS of the pline, etc., depending on your usage.)

hth,
David Kozina

"irfan" <nospam@address.withheld> wrote in message
news:8505078.1111587918296.JavaMail.jive@jiveforum1.autodesk.com...
Quote:
hi, all

has someone got some code to convert plines into mlines please, if not
can u suggest me how to avoid the following problem:

In simple terms, i have a pline and a circle with hatch. When i turn
fillmode off, the hatch in the circle also turns off which i actually
donot want. All i wanted is to remove fill from Pline but fillmode
inherently effects both.

TIA
Irfan
Back to top
irfan
Guest





Posted: Wed Mar 23, 2005 8:26 pm    Post subject: Re: pline to mline conversion Reply with quote

thanks, for ur reply. I think i will have to write my own code

irfan

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB