TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: gile on August 24, 2011, 04:02:42 AM

Title: 4 new AutoLISP functions in A2012
Post by: gile on August 24, 2011, 04:02:42 AM
Hi,

Four new AutoLISP functions have been added to the A2012 versions as an alternative to the vlax functions which aren't available with the Mac version.

- dumpallproperties (http://docs.autodesk.com/ACDMAC/2012/ENU/contexthelp/DUMPALLPROPERTIES.htm)(vlax-dump-object).
- getpropertyvalue (http://docs.autodesk.com/ACDMAC/2012/ENU/contexthelp/GETPROPERTYVALUE.htm)(vlax-get-property).
- ispropertyreadonly (http://docs.autodesk.com/ACDMAC/2012/ENU/contexthelp/ISPROPERTYREADONLY.htm)(vlax-property-available T).
- setpropertyvalue (http://docs.autodesk.com/ACDMAC/2012/ENU/contexthelp/SETPROPERTYVALUE.htm)(vlax-put-property).

Read more here (http://hyperpics.blogs.com/beyond_the_ui/2011/08/new-autolisp-functions-in-autocad-2012-for-mac.html).

So, maybe AutoCAD for Mac have some intersting side effects  :evil:

Title: Re: 4 new AutoLISP functions in A2012
Post by: Lee Mac on August 24, 2011, 05:25:39 AM
Exciting indeed! Thanks for sharing!  :-)

Maybe LISP hasn't been forgotten after all, there is hope for us LISPers yet :lol:
Title: Re: 4 new AutoLISP functions in A2012
Post by: irneb on August 24, 2011, 07:26:47 AM
I really hope so! Now if only they'd also give us the invoke methods & reactors, we'd be styling!

Anyone tried them on AEC objects yet?
Title: Re: 4 new AutoLISP functions in A2012
Post by: alanjt on August 24, 2011, 08:29:16 AM
very cool.
Thanks for sharing. :)
Title: Re: 4 new AutoLISP functions in A2012
Post by: gile on August 24, 2011, 09:08:46 AM
I hope too they make AutoLISP growing...

But for now, IMO, these functions are only a way to write more concise and readable code than with entget and entmod but they are less powerfull.
For example the Normal property of a circle is read only when it can be changed with entmod...
Title: Re: 4 new AutoLISP functions in A2012
Post by: BlackBox on August 24, 2011, 09:10:39 AM
1+ Thanks for sharing, Gile.
Title: Re: 4 new AutoLISP functions in A2012
Post by: chlh_jd on August 28, 2011, 06:49:02 AM
Gile , Thank for share , mee too .