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: 30.0
Syntax
VB
Public Interface ISharedVariable
C#
public interface ISharedVariable
The ISharedVariable type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | Value |
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.
|
Methods
Name | Description | |
---|---|---|
![]() | Exists |
Gets a value that indicates whether a shared variable with the given name exists in the current session.
|
![]() | Remove |
Removes (deletes) the specified temporary variable.
|
![]() | RemoveAll |
Removes (deletes) all variables in the current session.
|