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.

Dialogs Class

The Dialogs class contains interface methods for Tekla Structures to handle FormBase and WindowBase dialogs.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Dialog
Assembly:  Tekla.Structures.Dialog (in Tekla.Structures.Dialog.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public class Dialogs : MarshalByRefObject

The Dialogs type exposes the following members.

Constructors
  Name Description
Public method Dialogs
Initializes a new instance of the Dialogs class
Top
Methods
  Name Description
Public methodStatic member GetPluginFormBaseByPluginFormName
Retrieves an instance of the form.
Public methodStatic member GetPluginWindowBaseByPluginFormName
Retrieves an instance of the form.
Public methodStatic member LoadAttributeFileNameToDialogAndApply(String)
Uses the attributes found from the attribute file as the applied values for the specified dialog.
Public methodStatic member LoadAttributeFileNameToDialogAndApply(String, String)
Loads the specified dialog's applied values from the attribute file.
Public methodStatic member LoadAttributeFileNameToDialogAndModify(String)
Uses the attributes found from the attribute file as the current values for the specified dialog. Modifies the current selected instance. Applied values for this dialog are not changed.
Public methodStatic member LoadAttributeFileNameToDialogAndModify(String, String)
Loads the specified dialog's current values from the attribute file and modifies the current selected instance.
Public methodStatic member LoadAttributeFileToStack
Opens a dialog and forces it to get the values from the currently selected part.
Public methodStatic member LoadDialogs
Reads the PluginFormBase and PluginWindowBase dialogs from all found dll files in bin\dialogs and bin\plugins.
Public methodStatic member OpenDialog
Opens a dialog. The name of the dialog is asked from the Tekla Structures core.
Public methodStatic member OpenDialogAndGet
Opens a dialog and forces it to get the values from the currently selected part.
Public methodStatic member ReloadDialogs
Reloads all PluginFormBase dialogs with default/standard values.
Public methodStatic member SetSettings
Forces the dialog system to get the language and localization settings from Tekla Structures.
Top
See Also