You mean select the Layer in the Layers panel when an object on that layer is selected, right? If so, you can use the Tools icon in the Layer panel and choose “select objects layer”
Hi Jean-Francis - this RhinoScript will work in the V6/WIP, if you are trying that at all - save, then Drag and Drop the script onto a V6 window, this will add
LayerHighlight
as an alias. I’ll double check but I don’t think V5 has the necessary functions in RhinoScript, I just happened to remember it was added to v6 - I’ll check into a Python for V5, but it may not be possible.