Click or drag to resize

ISharedVariable Interface

Provides properties and functions for temporary objects that can be shared between iLogic rules in an Inventor session.

In a rule, this interface is implemented by the predefined object named SharedVariable.

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax
Public Interface ISharedVariable

The ISharedVariable type exposes the following members.

Properties
  NameDescription
Public propertyValue
Gets or sets the value of a shared temporary variable. If a variable with the given name does not already exist, setting a value will create the variable and then set its value.
Top
Methods
  NameDescription
Public methodExists
Gets a value that indicates whether a shared variable with the given name exists in the current session.
Public methodRemove
Removes (deletes) the specified temporary variable.
Public methodRemoveAll
Removes (deletes) all variables in the current session.
Top
See Also