Changing one property on multiple layer

Changing one property on multiple layer

isosa9APBT
Advocate Advocate
868 Views
1 Reply
Message 1 of 2

Changing one property on multiple layer

isosa9APBT
Advocate
Advocate

I need to change the plotstyle property to be set by layer. When I get architectural files from an architect they have their plotstyle set to something specific they use. I want to set all the layers to be in the bylayer plotstyle or any other specific plotstyle I want. I been changing the color and the lineweight manually when I change the layer properties but it would be nice to change it all at once with a lisp routine. I was trying to make a lisp routine that would select all layers then change that property using the lisp, but that is not working. I have a lisp routine that sets my layers to be a specific plotstyle, but that only sets layers it doesn't change the properties of existing layers. Any ideas would be really helpful and thanks in advance

 

(defun c:test ()
(command "-select" "all" "-plotstyle" "ByLayer" "")
)

0 Likes
Accepted solutions (1)
869 Views
1 Reply
Reply (1)
Message 2 of 2

ВeekeeCZ
Consultant
Consultant
Accepted solution

(command "_.chprop" "_all" "" "_pl" "ByLayer" "")

0 Likes