Wishlist: Change Object(s) Layer with one click

When setting up a Rhino file for rendering, or just organizing layers, I’m often selecting geometry, right clicking on a layer, then selecting Change Object Layer.

I would prefer to run a command that sets the target layer first, then all subsequent clicks would add the selected geometry to the layer. So I don’t have to hold shift and potentially lose my selection. It would be nice if both “change object layer” and “copy objects to layer” were variants of this function.

Ideally the undo history would allow me to go back a click if I happened to select the wrong object while the command is running.

I’m sure there’s a way to script this. Any advice on how to do achieve it in the meantime would be appreciated, thank you.

Hello- here is a python that may help.

To use the Python script use RunPythonScript, or a macro for a button or alias:

_-RunPythonScript "Full path to py file inside double-quotes"

ChangeToLayer.py (347 Bytes)

-Pascal

1 Like