AutoCAD 2010/2011/2012

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

Condition Lisp

116 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*
braudpat
Posts: 2,277
Registered: ‎12-15-2006
Message 2 of 2 (107 Views)

Re: Condition Lisp

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

 

Hello

 

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

http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/bd-p/130

 

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
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.