Import reinforcing bar Points from Tekla to Grasshopper

Hi Bbalbastre,

If you’ve only got single bars, you could get the control points (the ones in your pic) with the Expand Object component like this:

If you need the physical points on the rebar itself (that take into account cover thicknesses etc) you can use the GetRebarGeometries method (https://developer.tekla.com/tekla-structures/api/22/15004). This is also needed to get the points of individual bars in e.g. a rebar group.

Here’s a C# component that uses this method to obtain the polylines of individual bars from any rebar type:

GetRebarPolygons.gh (14.4 KB)

pic:

Cheers,

Sebastian

5 Likes