I do a lot of plans and sections in rhino and due to the inconsistencies with missing lines in Make2D (not complaining but always room for improvement) I am constantly having to click a line _what to see the layer it is in, go over to the layer panel to activate that layer, then continue to fix the line (adding a polyline, trimming, etc)
My question: is there a way to Click an object (crv/srf/mesh etc), and it will automatically activate the layer that object is in so I can proceed to edit without having to do the aforementioned process. This seems stupid but it adds a significant amount of time when you are dealing with a hundred tiny crvs on 20-30 diff layers.
Hi Chris - the obuject layer turns up in the status bar layer control, so look there for the layer, but in the layer control under the tools (hammer icon) there is a âSelect object layerâ entry
Save it on your HD and drag-and-drop to Rhino vport to install. The command âDIG_SelectObjectsLayersâ will become available.
You can assign it to any button or keyboard shortcut - if you simply want to select the layer of selected object (or layers of selected objects) the macro would be:
DIG_SelectObjectsLayers _Enter
There are some other options available and you can create them with similar macros (select all objects on layers of selected objects, also undo layer selection if you just want to take a look and get back to previous state). The script should be smart enough to expand all layer parent layers so the nested layers get selected as well. I use it all the time as a handy keyboard shortcut.
PS. This is for Windows only. I am guessing Pascal may have Python version that would work on both systems.
Thanks everyone, all very great answers. Sometimes its funny how much time you spend doing something and then you realizeâŚis there a shortcut for this?