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.

WindowBase Methods

The WindowBase type exposes the following members.

Methods
  Name Description
Public method ApplyValues
Loads the dialog values from a file and performs Apply on the loaded values. To match the files to a certain dialog, the file suffix is set as the dialog type's name.
Public method GetConnectionStatus
Returns true if a proper connection to the Tekla Structures process has been established. If, for some reason, the connection has been lost, the method will return false. Currently, there's no way to re-establish the connection.
Public methodStatic member GetUnitDecimals
Gets the number of decimals Tekla Structures uses with the specified unit type.
Public methodStatic member InitializeDistanceUnitDecimals
Gets the number of decimals Tekla Structures uses for displaying the "length" unit and initializes the distance datatype to use that.
Public method InitializeWindow
Prepares the data storage for the dialog and scans through the fields.
Public method LoadValues
Loads the dialog values from a file. To match the files to a certain dialog, the file suffix is set as the dialog type's name.
Public method ModifyValues
Loads the dialog values from a file and performs Modify on the loaded values. To match the files to a certain dialog, the file suffix is set as the dialog type's name.
Public method SaveValues
Serializes the dialog values to an xml file.
Public method ShowWindow
Displays the window.
Public method UpdateDataStorageFromViewModel
DO NOT USE! For internal usage only!
Top
See Also