Hi!
Yesterday, with my team, we were considering how to keep Rhino files better organized.
We said this: A major pain is controlling how objects are placed on the layers. A properly organized file is always hard to achieve because everything is placed in the current layer, requiring a cleanup phase to reassign objects to the correct layers.
During the creation/representation phase is currently very hard to keep the objects organized, since creation involves many temporary/auxiliary objects that clog the current layer.
Having the abilty to set current layers “by type” would be an interesting solution to make this organization smoother.
It would be nice if you could evaluate the idea.
If you set a “filter” for a layer (i.e. Annotations) and you run a command like “spline”, Rhino would show a message telling that you cannot add a curve to a layer that accept only annotations?
Wouldn’t be better to have a script that, for each layer, look what is inside and organize all the objects into sub layer?
So you can run it when you see that the things aren’t well organized or you receive a file from another user that put everything on the same layer…
It won’t set a “filter” for a layer, It will set a layer as “Current by type”.
I.e. if you set the
“A” layer as Current for annotations,
“B” layer as Current for splines,
“C” layer as Current for unassigned (i.e. for everything else)
when you create a spline it will be placed on layer B, when you create an annotation it goes on layer A and when you create a Brep, point, clipping plane, and everything else, it will be placed on layer "C.
Nothing will prevent you from Changing Object Layer (again, it’s not a filter, locking types to layers): the behavior is exactly the same as the generic set as “current” layer that is in use now.
As a comparison, Autocad uses variables to preset the current layer for specific types (DIMLAYER for Dimensions, TEXTLAYER fo Text, HPLAYER for hatch and so on). It’s very useful but pretty rigid. But, you know, it’s Autocad…
Ciao Roberto,
Se volete posso farvi un plugin che gestisce in automatico queste operazioni di filtraggio.
Ho lavorato con molti studi architettonici e di ingegneria navale e non sei l’unico ad aver avuto questo problema.
Qui puoi trovare il mio portfolio : Farouk Serragedine - YouTubefarouk.serragedine@gmail.com
In caso voleste una soluzione di questo tipo per consentire un filtraggio efficiente degli oggetti non esitare a contattarmi,
Farouk