Fields and Lisp
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
Fields and Lisp

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





Posted: Wed Dec 29, 2004 2:44 am    Post subject: Fields and Lisp Reply with quote

Can you use lisp to populate a field? I want to populate a field with the number of layouts in a drawing but I can't figure out how.

I was hoping I can use (length (layoutlist)) in the field expression but DIESEL doesn't handle that.

Any suggestions, Will fields ever support lisp expressions?

Back to top
Clarence
Guest





Posted: Wed Dec 29, 2004 8:33 pm    Post subject: Re: Fields and Lisp Reply with quote

im not sure how to do the exact command. But I'm working on a field command for area text.

Figure out how to use field to place your info (to see if fields have that capability_. Then use lisp to retrieve your info. Put the two together.

In my command I'm getting the object id and other info and then I run the command fields > objects. Then I use autolisp to place the lisp gathered information into the field.
Back to top
Clarence
Guest





Posted: Wed Dec 29, 2004 8:37 pm    Post subject: Re: Fields and Lisp Reply with quote

search for this in this ng:

Object ID for area field


its what I started with for my command. i hope it helps!

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
Contact Us
Powered by phpBB