...
Cameo Simulation Toolkit supports the following scripting languages
- ECMLScript/JavaScript Rhino (deprecated)Rhino
- Beanshell
- Groovy
- Python
Predefined variables in an Action script represent a set of variables defined by the script engine before a script evaluation is executed. You can refer to these predefined variables from any action script API.
| Variable | Description | |||
|---|---|---|---|---|
A context or runtime object of current script evaluation. For a Constraint Block, it is the runtime object of the owner of the Block and not of the Constraint Block itself. | ||||
Equivalent to $context$ or _ element_ | An owner element of the script. | $performs$ or _performs_ | context_. For a Constraint Block, it is the runtime object of the Constraint Block itself. | |
An owner element of the script | Checking an active Activity of the context being executed. | |||
The last signal Instance in an Event pool of a specified object. | ||||
An active State of a context or a runtime object of a current script evaluation. | ||||
A token value of an active model element. | self | Equivalent to $context$ or _context_. | ||
The specified property value of the last signal. |
...