Accessing layer state list
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
Accessing layer state list

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization
Author Message
jlspartz
Guest





Posted: Wed Dec 22, 2004 3:44 am    Post subject: Accessing layer state list Reply with quote

Here's the dilemma. The last CAD manager here made a VBA for making and accessing layer states quickly. Well, when the layer state is saved in that program, AutoCAD 2005 doesn't recognize it anymore even though it is in the layer state list and works perfectly in AutoCAD 2002. But, it we save it through the command line or in the layer manager in 2002 it works in 2005.

So, I need to capture the list of layer states within the drawing because they could be any name and then save them again. I notice it won't let me save the layer state with the same name to overwrite it too, so I may need to give each one a prefix when resaving them, and then after that is done, delete all layer states without that prefix. I know how I would do it if I knew the names of the layer states I wanted to resave, but the names could be anything. How would I do that in lisp?

Back to top
Luis Esquivel
Guest





Posted: Wed Dec 22, 2004 4:43 am    Post subject: Re: Accessing layer state list Reply with quote

Download "layerstate.lsp" from here:

http://www.draftteam.com/free.php?&lang=en

HTH.

Quote:
So, I need to capture the list of layer states ... How would I do that in
lisp?
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization 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