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

CastUnitDrawingInsert Method

Inserts a new cast unit drawing. Views are added according to the View Creation rules of the standard file. A drawing can be inserted only when there is no active drawing.

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public override bool Insert()

Return Value

Type: Boolean
True on success.
Exceptions
Exception Condition
CannotInsertDrawingException Thrown if inserting a drawing when another drawing is active.
See Also