Methods for Dynamically Storing and Ref Multiple Breps in Grasshopper?

I’m working on a project where I generate a Brep from numerous variable inputs using a hefty code block in Grasshopper. I need to generate multiple Breps with different settings and store them for use in subsequent processes. Specifically, I have six slots to save these Breps, which I will then combine in various ways.

Currently, my approach involves:

  1. Baking the Breps with a specific name.
  2. Hiding the baked Breps for visibilty purposes.
  3. Using a Python block to search for the name to get the reference.
  4. In the next iteration, deleting any objects with the same name, baking new objects, triggering the Python search again, and rebuilding the reference.

While this method works, (metering refreshes is a challenge), it feels cumbersome, and I wonder if there might be a more efficient or straightforward way to achieve this.

In Rhino 8, you can reference and bake content with the Grasshopper Rhino components.

That is the obvious thing I was missing! Let me try the native components.

1 Like