Cameo Simulation Toolkit uses Java Scripting API to evaluate scripting languages. It is a scripting language-independent framework that uses script engines from Java code.
Cameo Simulation Toolkit supports the following scripting languages
- ECMLScript/JavaScript Nashorn (deprecated)
- Beanshell
- Groovy
- Python
- Ruby
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 a current script evaluation. | |
An owner element of the script. | |
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. |