Hi David,
could you please add support for nested layers in the grasshopper geometry pipeline?
I am now forced to use layers starting with similar text and then use the wildcard " * " to get it to work, but it would be so much better if grasshopper would support Rhino’s native MainLayer::SubLayer naming, so if I used MainLayer* it would automatically select geometry from all sublayers.
Default (the first layer only)
Default* (all layers)
Default::* (sublayers only)
*SubLayer2 (third sublayer only)
the problem is that this changes the behaviour. Previously, SubLayer2 would have selected the third layer, and now it no longer does. Just automatically adding an asterisk in front of the layer filter if there isn’t one already also breaks past behaviour.
Ok this is not ideal, but it at least doesn’t break old behaviour. I added some versioning to the pipeline so that when a pipeline from an old file is read, it behaves in the old way. You can switch to the new behaviour from the menu. Newly created pipelines always behave in the new way. The switch to new behaviour is undo-able.
I’ll probably commit this code before the next Tuesday Rhino WIP release. However last week’s release may already have the new behaviour, just not the legacy support.
You can use the [dynamic geometry pipline] component, right click it and set “match full path”. You can access the layers like Parent::SubLayer::SubsubLayer