Tekla Open API

Detailed and full API reference helps you master Tekla Open API

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

Contour Class

The Contour class defines a possibly chamfered contour. Contours must not have loops.
Inheritance Hierarchy
SystemObject
  Tekla.Structures.ModelContour

Namespace:  Tekla.Structures.Model
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2018.1.0.0 (2018.1.0.0)
Syntax
[SerializableAttribute]
public sealed class Contour

The Contour type exposes the following members.

Constructors
  Name Description
Public method Contour
Instantiates an empty contour.
Top
Properties
  Name Description
Public property ContourPoints
The contour points belonging to the contour.
Top
Methods
  Name Description
Public method AddContourPoint
Adds a new contour point to the contour. Do not add the same contour point twice.
Public method CalculatePolygon
Calculate a polygon approximating the contour with chamfers evaluated.
Top
Fields
  Name Description
Public fieldStatic member MAX_CONTOUR_POINTS
The maximum number of contour points that is typically valid in Tekla Structures.
Public fieldStatic member MIN_CONTOUR_POINTS
The minimum number of contour points that is typically valid in Tekla Structures.
Top
See Also