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


You can use the supported scripting languages in the UML elements, e.g., OpaqueExpression and OpaqueBehavior. The available Helper Classes that you can use with those scripting languages are the ALH (Action Language Helper) Class and ExcelHelper. For more information, see the JavaDoc of ALH in the MagicDraw installation directory (\openapi\docs\SimulationJavaDoc) and ExcelHelper Class.

This section explains the existing predefined variables of Action Scripts and demonstrates the use of ALH scripting with the following APIs


You can find more examples of the use of ALH in <MagicDraw installation directory>/samples/simulation/tests/test_ALH.mdzip. Furthermore, most ALH APIs interact with the fUML abstract syntax metaclasses (see http://www.omg.org/spec/FUML/).