Hi everyone,
I’m using rhino7 and Tekla2022
I’m starting from an existing Tekla model of a truss beam, and I want to modify its geometric parameters — for example the spacing between vertical members — using Tekla Live Link in Grasshopper.
By doing this, I’m not only modifying existing objects, but also dynamically creating new ones or deleting elements, depending on how the geometry changes.
I’m able to import the beam elements from Tekla to Grasshopper, extract their axes, parametrize the geometry, and modify it.
At this point, I’m facing two different scenarios:
- If the number of elements increases, I can update the model using the “Modify Beam” component for the existing beams (by updating the curve input) and the “Create Beam” component to generate the additional ones.
- However, if the number of elements decreases, I’m unsure how to proceed. I can use the “Modify Beam” component for the beams that still exist, but I don’t know how to delete the extra beams from within the Grasshopper script.
How can I remove these unnecessary elements directly in Grasshopper?
Thanks in advance for any help!