Tekla Open API

Detailed and full API reference helps you master Tekla Open API

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

DrawingHandlerMessageExecutionModeEnum Enumeration

The message execution modes of Tekla Structures.

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2018.1.0.0 (2018.1.0.0)
Syntax
public enum MessageExecutionModeEnum
Members
  Member name Value Description
INSTANT 0 Executes messages after each database operation. All objects appear instantly on the screen when using the INSTANT mode.
BY_COMMIT 1 Executes messages only when Drawing.CommitChanges() is called.
Remarks

The message execution mode of Tekla Structures controls whether messages are executed after each database operation or by an explicit call to execute messages.

There may be some speed benefits if the BY_COMMIT mode is used when inserting a lot of objects. The messages are then executed once after the objects have been inserted.

See Also