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.

LineTypesCustom Method

The Custom line type defines a line that is drawn using one of the custom line types, as specified by the CustomLineTypeName.

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2022.0.13611
public static LineTypes Custom(
	string CustomLineTypeName


Type: SystemString
A valid custom line type name, if it is not valid an exception will be thrown.

Return Value

Type: LineTypes
The requested custom line type.
TeklaStructuresDrawingsApplicationExceptionThrown if an invalid custom line type name is given.
See Also