Is it possible to create custom properties using LISP?
Young.
![]() |
|
![]() |
|
![]() |
|
![]() |
Is it possible to create custom properties using LISP?
Young.
AutoCAD MAP3D 2012
Windows 7 SP1
an examplecode:
Code:(vla-addcustominfo(vla-get-summaryinfo(vla-get-activedocument(Vlax-get-acad-object)))"AA" "BB")
Thanks Thomas,
That worked just like I wanted.
How do you people know all this?
I am trying to start learn some LISP and everyday I flip the pages it gets harder and harder.
Any tips on good starting point?
Thanks againg Thomas.
Young.
AutoCAD MAP3D 2012
Windows 7 SP1
Have you tried the two sticky threads, ("Learning Lisp" and "Anatomy of an AUTOLISP file")?Originally Posted by ch00su
There are several links in the "Learning Lisp" thread that may be helpful to you.
If you have a technical question, please find the appropriate forum and ask it there.
You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
jUSt
Thanks Opie,
The Irony, I suppose, is that there are so many materials to read on "LISP" that makes it hard to decide on which one to stick to and read on.
Anyway, I've just printed out Afralisp tutorials and it looks pretty good for an absolute LISP begginers like me.
Let's see how it goes.
Thanks for your reply.
Young.
AutoCAD MAP3D 2012
Windows 7 SP1
I would go with the Afralisp site as well. That is where I started learning as well. Very good information.Originally Posted by ch00su
No problem. That is one of the reasons I am here.![]()
If you have a technical question, please find the appropriate forum and ask it there.
You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
jUSt
Offtopic: For German speaking (reading) Lispbeginners I recommend Mapcars Lisp Tutorial
Hi Thomas:
Your example code works great the first time the code is run, but if I execute it two times I wind up with double entries. Would there be a way to always have the custom properties arranged in a specific order...??...for example the first line be Drawing File Name and the second line be the Author and the third line be the Date and the forth line be the Drawing Title, etc. and so on.
If the routine is run again it would overwrite the existing custom properties with the new values.
Your assistance would be appreciated....!!!
Regards,
Vince