I need a little help.
I have per example a collect of multiple surfaces in Rhino.
Is it possible to insert a numbering for each surface in Rhino which then the same numbering is recognized by the indexes of a list in grasshopper, inserting them as multiple breps?
Sort of, but it would definitely be easier with some custom scripting.
You can assign a name to each of your Rhino objects which contains some sort of indexer value. Then you generate that same list of names in Grasshopper as text. You can convert a textual string into a Guid (Grasshopper will search for an object with the given name in the Rhino document) and then convert that Guid into a Surface.
In the attached files, the names are as simple as possible. They’re just increasing integer values. Surfaces.3dm (60.3 KB) Reference.gh (9.2 KB)
I noticed, if the layers of the geometries to which I gave a name to make it recognized by the ID in Grasshopper, are turned off in Rhino, the ID component does not recognize the geometries when I start the GH file.
In that case I have to activate the layer and recompute the GH file.
Would there be a way to get the ID recognized, even if the geometry is turned off in Rhino?
Elefront is excellent for this type of workflow. There are numerous examples on the forum, if you have something specific you would like illustrated post your file.
You can reference and sort by all sorts of rhino properties, or create your own (user text)