AutoCAD 2010/2011/2012

AutoCAD 2010/2011/2012

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

Condition Lisp

118 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,404
Registered: ‎12-15-2006
Message 2 of 2 (109 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
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.