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.Drawing.CommitChanges(System.String)

DrawingCommitChanges Method (String)

Commits the changes made to the drawings database so far. Commit inserts a kind of save-point into the database and the save-point will be retrieved if the user does undo. Commit also executes all messages. Please note that you need to also to save the drawings database to persists the changes to disk.

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2019.1.0.0 (2019.1.0.0)
Syntax
public bool CommitChanges(
	string Message
)

Parameters

Message
Type: SystemString
The message to be saved with the commit.

Return Value

Type: Boolean
True on success.
See Also