adding text value to layer description

adding text value to layer description

E.S.7.9
Advocate Advocate
914 Views
2 Replies
Message 1 of 3

adding text value to layer description

E.S.7.9
Advocate
Advocate

hi everybody ,

 

is it possible to adding selected text value to selected layer description by user via lisp ?

 

can you please share similar lisp code ?


thanks

0 Likes
Accepted solutions (1)
915 Views
2 Replies
Replies (2)
Message 2 of 3

ВeekeeCZ
Consultant
Consultant
Accepted solution
(vla-put-description (vlax-ename->vla-object (tblobjname "LAYER" "MyLayer")) "Your description")
0 Likes
Message 3 of 3

Kent1Cooper
Consultant
Consultant

Or, in a way that, unlike the (vla) approach, can apply the same Description to multiple  Layers if you want [or just one, in a shorter way]:

(command "_.layer" "_d" "YourDescription" "The,Layer,Names,Getting,It" "")

Kent Cooper, AIA
0 Likes