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.

Distance Constructor (Double)

Initializes a new instance of the structure.

Namespace:  Tekla.Structures.Datatype
Assembly:  Tekla.Structures.Datatype (in Tekla.Structures.Datatype.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public Distance(
	double millimeters
)

Parameters

millimeters
Type: SystemDouble
The distance in millimeters.
Examples
This example shows how to construct a new Distance instance.
using Tekla.Structures.Datatype;

public class Example
{
       public void Example1()
       {
           Distance distance = new Distance(30.2);
       }
}
See Also