AutoCAD 2010/2011/2012

Distinguished Contributor
Posts: 159
Registered: ‎07-28-2006
Message 1 of 2 (117 Views)

Condition Lisp

117 Views, 1 Replies
02-14-2013 05:28 AM

Could someone tell why this is not working, I cannot figure why it does not change the layer description as I want.

(cond ((= (tblobjname "LAYER" "Dim1") "Dim1")
           (vla-put-description (vlax-ename->vla-object (tblobjname "LAYER" "Dim1")) "Dimensions")



thank you in advance, Byron

*Expert Elite*
Posts: 2,332
Registered: ‎12-15-2006
Message 2 of 2 (108 Views)

Re: Condition Lisp

02-14-2013 06:21 AM in reply to: 1bdchristian




Please Post your Lisp/VLisp questions/problems in  this forum :


Bye, Patrice


Bye, Pat ( Supporting Troops )
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Compliment) - Thanks
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!