Hello
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
I ordered 2 new licenses for V6 so I keep your code and use it once i get my new Versions. I appreciate it if you can help with V5 (Current Version i am using)
Ok, your code works fine up until Multipause. I am fine with your first part of the code which changes the layer then starts the command. I guess i could create another Alias for the hatch command the same way. Thank you for your help