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

PluginBaseInputObjectDependency Enumeration

Defines the input object dependency type for model plug-ins.

Namespace:  Tekla.Structures.Plugins
Assembly:  Tekla.Structures.Plugins (in Tekla.Structures.Plugins.dll) Version: 2019.0.0.0 (2019.0.0.0)
public enum InputObjectDependency
  Member name Value Description
NOT_DEPENDENT 0 No dependency on input. Typically this type is applied to the import and export functionality. Not-dependent plug-ins are executed from the plug-in dialog instead of the component catalog. The created objects do not have any relation to the plug-in anymore. The plug-in dialog cannot be opened from the created objects. Note! The system does not automatically save a rollback point to the database for non-dependent plug-ins. If new objects are created, CommitChanges needs to be called at the end of the Run method.
DEPENDENT 1 Dependent on input. The plug-in is executed if e.g. the definition points or the profile of the input part change. Boolean operations to the input part do not cause plug-in execution.
GEOMETRICALLY_DEPENDENT 2 Geometrically dependent on input. The plug-in is executed if the input part geometry changes i.e. if the input part is fitted.
NOT_DEPENDENT_MODIFIABLE 3 No dependency on input but the instance is modifiable in the model. The created objects have a relation to the plug-in. The plug-in dialog can be opened from the created objects.
See Also