API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

RebarGeometry Class

The RebarGeometry class represents a single physical reinforcing bar - the building block of a mesh, a rebar group and even a single rebar. It contains the physical reinforcing bar points in 3D space.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Model
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2020.0.0.0 (2020.0.55582.0)
public sealed class RebarGeometry

The RebarGeometry type exposes the following members.

  Name Description
Public property BendingRadiuses
The bending radiuses of the wire.
Public property Diameter
The diameter of the wire.
Public property Shape
The physical points of the reinforcing bar.
using Tekla.Structures.Model;
using Tekla.Structures.Geometry3d;

using System;
using System.Collections;

public class Example
       public void Example1()
           RebarGroup Group = new RebarGroup();
           ArrayList RebarGeoms = Group.GetRebarGeometries(true);
           foreach (RebarGeometry Rebar in RebarGeoms)
               if (Rebar != null)
                   Console.WriteLine("Wire {0} has the following points:");
                   foreach (Point p in Rebar.Shape.Points)
                       Console.WriteLine("[{0},{1},{2}]", p.X, p.Y, p.Z);
See Also