not sure if that’s possible.I want to write a little macro script to change the layer color.
for example,here is little script
-_ChangeLayer pause newlayer newname
it will create a new layer with black color.I want to change the color of the new layer using the macro script instead of black color layer.would it be possible??
Do you always want the same color for a new layer? If so, you can simply go to Rhino Options > Appearance > Colors > New Layer and change black to something else.
that’s not quite what I want.I want to change the color of specific layer with specific color using macro script.
perhaps I will explain more detail what I want to archieve.
I am trying to create two buttons to create a cutting plane in 45 degree and 30 degree angle.
below is the 45 degree cutter . I still can’t figure 30 degree cutter yet.
_CutPlane pause -5,-5,0 0,0,0 -5,5,0 0,0,0 enter
-_ChangeLayer _sellast enter n 45cutter
after that I want to change the color of 45cutter layer into specific color that I want.