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.

Meta.Microsoft.Help.Id
M:Tekla.Structures.Drawing.CastUnitDrawing.#ctor(Tekla.Structures.Identifier,Tekla.Structures.Drawing.CastUnitDrawing.CastUnitDrawingCreationType,System.Int32)

CastUnitDrawing Constructor (Identifier, CastUnitDrawingCastUnitDrawingCreationType, Int32)

Instantiates a new cast unit drawing by id with standard attributes and with a specified sheet number for a given cast unit.

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2019.1.0.0 (2019.1.0.0)
Syntax
public CastUnitDrawing(
	Identifier castUnitIdentifier,
	CastUnitDrawingCastUnitDrawingCreationType castUnitDrawingCreationType,
	int sheetNumber
)

Parameters

castUnitIdentifier
Type: Tekla.StructuresIdentifier
The identifier of the model object cast unit.
castUnitDrawingCreationType
Type: Tekla.Structures.DrawingCastUnitDrawingCastUnitDrawingCreationType
Specifies the cast unit drawing creation type (by cast unit id or by cast unit position).
sheetNumber
Type: SystemInt32
The sheet number of the drawing.
See Also