Hi there:
I find myself often wanting to create and name multiple sublayers of my active layer. It’s clumsy for me to move the mouse to the new sublayer button in the layers panel, go back to the keyboard to type the name, then repeat.
Is there any keyboard shortcut to create a new sublayer (I haven’t been able to find one in the help files so far).
If not, is there some macro command combination that I could put into an alias that I could initiate from the keyboard which would make a new layer and prompt me to name it?
Thanks,
Don
Tab key while typing a layer name should do it
3 Likes
Hi @doncstevens
One way to do it with the script below:
AddSubLayer.rvb (1.0 KB)
(save on your HD, drag-and-drop into Rhino to install).
You will have 2 aliases available now, one for SubLayer under Current layer, and one for new SubLayer under Selected/Highlighted layer (whichever works for you) - note in this case you have to have only 1 layer selected for this to work:
AddSubLayerUnderSelectedLayer
AddSubLayerUnderCurrentLayer
hth,
–jarek
2 Likes
Wow, cool!
Pretty much the same thing I said when I stumbled into it. A tremendous shortcut, super useful.
Jarek:
Thank you for that .RVP. Exactly what I needed.
God bless,
Don