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.

Position Class

The Position class defines how a part is positioned relative to the input.
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 Position

The Position type exposes the following members.

  Name Description
Public method Position
Creates a new position instance.
  Name Description
Public property Depth
Indicates the positioning in the depth sense.
Public property DepthOffset
The offset away from the Depth value.
Public property Plane
Indicates the positioning in the plane sense.
Public property PlaneOffset
The offset away from the Plane value.
Public property Rotation
Indicates the positioning in the rotational sense.
Public property RotationOffset
The offset away from the Rotation value.
Defining the position of a bolt array instance:
using Tekla.Structures.Model;

public class Example
       public void Example1()
           BoltArray MyBoltArray = new BoltArray();

           MyBoltArray.Position.Depth = Position.DepthEnum.MIDDLE;
           MyBoltArray.Position.DepthOffset = 3;
           MyBoltArray.Position.Plane = Position.PlaneEnum.MIDDLE;
           MyBoltArray.Position.PlaneOffset = 1;
           MyBoltArray.Position.Rotation = Position.RotationEnum.FRONT;
           MyBoltArray.Position.RotationOffset = 2;
See Also