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.

Units Enumeration

The available unit types.

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2021.0.0
public enum Units
  Member name Value Description
Automatic 0 Automatic, chooses the most appropriate unit for the current environment.
Millimeters 1 Show the value in millimeters.
Centimeters 2 Show the value in centimeters.
Meters 3 Show the value in meters.
FeetAndInches 4 Show the value in feet and inches.
CentimetersOrMeters 5 Show the value in centimeters or meters whichever is more appropriate.
Inches 6 Show the value in inches.
Feet 7 Show the value in feet.
See Also