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:
- Baking the Breps with a specific name.
- Hiding the baked Breps for visibilty purposes.
- Using a Python block to search for the name to get the reference.
- 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.