AutoCAD 2010/2011/2012

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

Condition Lisp

112 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: 1,887
Registered: ‎12-15-2006
Message 2 of 2 (103 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community




Connect with AutoCAD

Twitter

Facebook

Blogs

Pinterest

Youtube