News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

color by layer

Started by Mark Laing, November 23, 2007, 08:22:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mark Laing

Is there a way to turn off color by layer for a whole layer in a macro?
Same thing for lineweight, style, etc.
I can do it for entities, but I want it to be for entities not yet in the layer, and I want the layer to 'read' that those features are turned off.
Thanks in advance,
Mark.

prl

Sure, you can do something like this

input "Enter layer number to disable color and linestyle by layer settings", nlay

GetLayerProps nlay
sys(530) = 0 'color by layer
sys(534) = 0  'line style by layer
SetLayerProps nlay

end 

Mark Laing

Thanks!
That was exactly what I needed.
Mark