![]() | DrawingHandler Methods |
The DrawingHandler type exposes the following members.

Name | Description | |
---|---|---|
![]() | CloseActiveDrawing |
Closes the drawing editor.
|
![]() | CloseActiveDrawing(Boolean) |
Closes the drawing editor.
|
![]() | GetActiveDrawing |
Returns an instance of the active drawing that is currently open in Tekla Structures.
|
![]() | GetConnectionStatus |
Returns true if a proper connection to the Tekla Structures process has been established. A proper connection
to Tekla Stuctures in the drawing API needs Tekla Structures up and running and a model open.
Currently, there's no way to re-establish the connection.
|
![]() | GetDrawingObjectSelector |
Gets a drawing object selector.
With a drawing object selector drawing objects can be selected and highlighted in the drawing editor.
A drawing object selector also provides a list of currently selected drawing objects.
|
![]() | GetDrawings |
Gets all the drawings from the database.
|
![]() | GetDrawingSelector |
Gets a drawing selector.
With a drawing selector the list of selected drawings can be gotten.
|
![]() ![]() | GetMessageExecutionStatus | Obsolete.
Gets the current message execution mode for the application.
|
![]() | GetModelObjectIdentifiers |
Gets model object identifiers of the drawing.
|
![]() | GetPicker |
Gets a picker for picking points and objects in a drawing.
|
![]() | IssueDrawing |
Issues the drawing if the drawing is not issued or was previously issued but has been modified since.
This is the same as pressing Issue on the drawing list for a selected drawing.
|
![]() | PrintDrawing(Drawing, DPMPrinterAttributes) |
Prints the drawing using the given printer attributes.
|
![]() | PrintDrawing(Drawing, PrintAttributes) |
Prints the drawing using the given printer instance.
NOTE! The drawing cannot be active, otherwise printing fails.
|
![]() | PrintDrawing(Drawing, DPMPrinterAttributes, String) |
Prints the drawing to file using the given printer attributes and name of the output file.
The given output file overrides the printer attributes file settings.
|
![]() | PrintDrawing(Drawing, PrintAttributes, String) |
Prints the drawing to file using the given printer instance.
NOTE! The drawing cannot be active, otherwise printing fails.
|
![]() | PrintDrawings |
Prints the list of drawings using the given printer attributes.
|
![]() | SaveActiveDrawing |
Saves the currently open drawing.
|
![]() | SetActiveDrawing(Drawing) |
Sets the active drawing that is currently open in Tekla Structures.
|
![]() | SetActiveDrawing(Drawing, Boolean) |
Sets the active drawing that is currently open in Tekla Structures.
|
![]() | SetActiveDrawing(Drawing, Boolean, Boolean) |
Sets the active drawing that is currently open in Tekla Structures.
|
![]() ![]() | SetMessageExecutionStatus | Obsolete.
Sets the message execution mode for the application.
|
![]() | UnissueDrawing |
Unissues the drawing.
This is the same as pressing Unissue on the drawing list for a selected drawing.
|
![]() | UpdateDrawing |
Updates the drawing.
This is the same as pressing Update on the drawing list for a selected drawing.
NOTE! The drawing cannot be active, otherwise the operation fails.
NOTE! Numbering must be executed before this operation.
|
