I am new to Rhino and love the program. I have a question and don’t know if it is possible to create a script or an alias shortcut for below question.
Is there a way to write a script/Alias for line or arc command to change the current layer to a specific layer before running the line command? For example if I am drawing a line, i want the layer (current layer) change to layer “Drawing” then pline command start automatically.
1- Current layer is set to layer 0
2- I type Polyline to start a drawing
3- Rhino first changes current layer “0” to layer “Drawing” - if layer “Drawing” doesn’t exist, create it then select layer “Drawing”
4- Run Polyline command
5- Start drawing on layer “Drawing”
6- When finished, change layer to previous layer “0”
Another example, If I am hatching an area,
1- Change current layer to layer “Hatch”
2- Run command hatch
3- when finished hatching set layer to previous layer