Readonly
eventsSub interface for events.
Register for variable updates.
The callback will be called when a variable is updated. The callback will receive the variable name and the new value.
Register a value replacer. This will be called when a variable is used and allows a script to replace the value of the variable.
The callback will be called when a variable is used. The callback will receive the variable name and the current value. The callback should return the new value for the variable or null if the variable should not be replaced.
Readonly
initializedFlag indicating if the connector is initialized and ready to use.
Readonly
variablesSub interface for variable access.
Get the value of a specific variable.
The name of the variable to retrieve the value for.
Flag indicating if the original value should be retrieved. If not, any potential manipulations will be applied.
The value of the variable or null if the variable does not exist.
Generated using TypeDoc
The InventConnector interface gives access to the Invent connector.