Tekla Weld

Hi,

Essentially you have to switch the type to a PolygonWeld and add the conversion from a Rhino Polyline to a list of Contour Points.

 WeldF.Polygon.Points.Clear();

    for (int i = 0; i < poly.Count; i++)
    {
      Point3d p = poly[i];
      WeldF.Polygon.Points.Add(new Tekla.Structures.Geometry3d.Point(p.X, p.Y, p.Z));
    }

I think this will cause problems if you have both welds and polygonwelds on the same Part, but here you go :

Create PolygonWeld in Tekla.gh (15.6 KB)

2 Likes