DrawingHandlerSetActiveDrawing Method (Drawing, Boolean) |
Sets the active drawing that is currently open in Tekla Structures.
Namespace: Tekla.Structures.Drawing
Assembly: Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2025.0.0-alpha00045580+dc02c3918546f1e94eb2d3b13ea99057fb3313e0
Parameters
- drawing
- Type: Tekla.Structures.DrawingDrawing
The drawing to be set as the active drawing. - showDrawing
- Type: SystemBoolean
Whether to open the drawing as visible or in the background (faster).
Return Value
Type: BooleanTrue on success.
| Exception | Condition |
|---|---|
| CannotPerformOperationDrawingNotUpToDateException | Thrown if the drawing is not up to date. |