Select all curves from a layer in Rhino?

I have a set of curves drawn in rhino (all on one layer) and I have this set of curves linked in grasshopper to a curve node. I am continuously adding to this set of curves, so I have to continue to “set multiple curves” in grasshopper to add my newly drawn curves to the set. I have everything on the same layer in rhino.

Is there a way to have grasshopper select my set from everything on that layer so I don’t have to keep going back to grasshopper and adding to my curves set?

Geometry Pipeline - very old component.

thanks so much! That worked. Is there a way for it to select a sublayer though?

I assume the standard layer naming convention applies? Let me check…

I thought double colons (“::”) between layer name and sublayer name would work but I guess not. :frowning: I don’t have more time right now, search the forum?

https://discourse.mcneel.com/search?q=geometry%20sublayer

Apparently not :interrobang: How STUPID :bangbang: Please, someone tell me it’s not so? :-1:
Not even in R8.

EIGHT YEARS AGO :bangbang:

don’t despair, make sure the full layer name is written between asterisk with double colons between each sublayer name. see attached

geo.3dm (176.2 KB)
geo_sel.gh (2.6 KB)

This component lets you filter objects by layer or sub-layer.

Yeah sublayer selection was working last time I used it, a few months ago

The nice things about this is Pipeline is limited on what is can reference this will allow to reference a bunch of other stuff.

I can see your brep but can’t see my curves. Struggled for a LONG TIME… before finally succeeding - thank you. But still fail with Untitled.3dm :interrobang: :frowning:

pipeline.3dm (25.3 KB)
pipeline.gh (3.0 KB)
Untitled.3dm (25.3 KB)

I don’t think the leading and trailing asterisks are needed.

As to why my Untitled.3dm failed, it’s because the curves are on the ‘Default’ layer instead of the ‘crvs’ sublayer. :roll_eyes: I swear, I went over my changes very carefully, many times. :nauseated_face:

i just removed the asterisks and it does work, weird… i clearly remember making scripts a couple years ago where asterisks were required otherwise the layer wasn’t selected.

Try like this in geometry pipeline component

MainLayer::SubLayer1::SubLayer2