Highlight selected objects in Layers

I think I understand your answer, but when I am selecting objects across many different layers, I would like to instantly see all of these layers highlighted to confirm my selection etc. Thank you!

Hello - yeah, it is not automatic, you need to ask by accessing that menu.



1 Like

Wish for automatic highlight of the layers when object is selected.
Spend too much time figuring out where things went.
Especially after join or boolean commands.
Would like to see some improvement here.

I’m not sure what the thoughts are on this one. There’s a YT item for making the tool that Pascal shows above into a command - that’s on the list for RH7 - RH-39104

Automatic highlighting also had a YT item (RH-25723) but that was closed with Won’t fix.

Toshiaki, automatic highlighting of the layer(s) of selected objects would mean that collapsed layers would be expanded and the list of layers possibly scrolled to show the highlight. This would happen every time an object was selected. In a file with a limited number of layers, that might work, but generally, this would be very disruptive.

When the Select Object Layer is made into a command, the user can call that when needed. Also, the status bar shows the full “path” of the layer a selected object is on. While the status bar might show this clipped for long names, hovering the mouse pointer over this field shows the full name.

Hi @Toshiaki_Takano,

In case you are using Rhino 6 / Windows version, try this script. It will select all layers of the selected objects and expand the layer stack as-needed. There is also an option to go back to original layer panel state in case you want to just quickly look and not mess things up by expanding the entire structure.

It can be put into button or macro, if needed, so it can be one quick key-press away… The Layer selection tools have been added to Rhino 6 RhinoScript, so it was not possible to make it work before. Hope that helps.

SelectObjectsLayers.rvb (1.7 KB)


1 Like

Any guidance on how to install this particular .rvb file? As I have not done this before and I read there are variables which need to be clarified etc. Thank you!

Hi @frank1,

Try this one: SelectObjectsLayers.rvb (1.8 KB)

Save somewhere on your HD and then drag-and-drop into Rhino vport.
From there, it will add an Alias: SelectObjectsLayers that should autocomplete and run the script.
Then you can add this alias to a keyboard shortcut or a toolbar icon…


Auto collapse would be a bit annoying…

It’d be great if just even the shown parent layer would be highlighted or have a dot or some indicator next to the name. or perhaps make the fonts underlined.
When uncollapsed more detailed highlights are found.

Any step towards easier management for not so management talented user.

This is great and it works perfectly. Now I wonder how to make it into a button. Failing to find the right process (I can make a new button etc but cant assign this function to it!. Thanks

Once you have a button, Ctrl+Shift+LMB on it to edit, then in the Command field just paste:

You can also assign that macro to a key shortcut like Ctrl+L etc. for quick, one-shot access.



Thank you!

Hi Jarek,

The file you have uploaded seems to not exist anymore, any chance you could upload so i can test?


Hi Stephen,

here you go: SelectObjectsLayers.rvb (2.2 KB)

@brian - is there a time limit for hosting uploaded files? This is the first time I see a file uploaded having a dead/expired link. In fact, I think some older files are still downloadable.



Beast! TY! Works like a charm.

Hi Jarek, Discourse is in the process of migrating uploads to a different server and somewhere along that road something went wrong. They are in the process of fixing this now.

1 Like

The script originally posted had a bug that would cause some layers in multi-nested structures not to get selected (the parent layers would not expand, therefore preventing selection). Here is a version with the bug fixed, for anyone interested that is using the script:
DIG_SelectObjectsLayers.rvb (2.3 KB)

The command/alias is: DIG_SelectObjectsLayers



Does this work for a mac version?

Nope, this one is Windows only. Perhaps someone can rewrite it in Python; I am not sure if Layer dialog methods are available in RhinoscriptSyntax as they only recently have been added to RhinoScript, and the two are not in sync. Unless RhinoCommon has access to it.


  • 1 for an option to turn on or off automatic layer highlight on selected object.

Why would Mcneel close the issue as ‘won’t fix’ if there are users that want it?

It could be an option that is set to false by default so that the average user wont get confused. It could be switched on by running a command, or changing the value in Advanced options to true.

We often have up to hundreds of layers, with deep nesting (its just the way we work) and it is time consuming to go through the layers looking for where the object belongs. Could be as simple as a dot or a highlight on the first tree branch to indicate where it lives.


1 Like