Does part belongs to some component

Hi,

I am making some components with the help of the Tekla Grasshopper Component plugin

I need my script to select some beams and see if at the end they already have some components. Does someone knows if is possible to do that with Tekla API. Like to select a beam and get component that beam has on its start or end point

Thanks a lot for your help

Hi,

This seems usable :

https://developer.tekla.com/tekla-structures/api/22/14523

Then it’s probably required to loop through those, isolate components from the name or ID and get the insertion point, compare it to the beam startPt/endPt…

1 Like

Thanks, that is exactly what I need :slight_smile:

Hi, for a pure GH solution you can also use the Get Children component. That will return rebars, welds etc as well so some additional filtering is needed to get just the components.

-b

1 Like