Script Engine Support
- Mozilla SpiderMonkey [ version 1.8 ]
- Microsoft Scripting Engine
- Inspecting and reporting on model and element composition
- Modifying and updating element properties
- Running queries to obtain extended model information
- Modifying diagram layouts
- Being called from report document templates to populate reports
- Creating and implementing process workflows
- Being included in MDG Technologies to augment domain specific languages
- Extensive UI access to scripts through context menus
- Automation Server role for in-process and out-of-process COM clients (Scripting is itself an example of an in-process client; Add-Ins are another)
- Element access governance through Workflow security
- Model Search integration
Scripts are managed and contained in groups. Each group has an attribute called 'Type'. This attribute is used to help Enterprise Architect decide how and where the script can be used and from which features it should be made available. The properties of a script group can be viewed from its shortcut menu.
Built in scripts are file based and are installed with Enterprise Architect. They appear under the Local Scripts group.
You cannot edit or delete Local scripts, but you can copy the contents easily enough.
User defined scripts are model based and as such, can be shared by a community. They are listed in the group to which they belong..
The management interface for Scripting is the Scripting window, which contains the:
- Script Tree View ('Scripts' tab), which you use to review, create and edit scripts
- Script Console ('Console' tab), which you use to operate on an executing script
Other than the Local Scripts, which are file based and installed with Enterprise Architect, all other scripts are stored as model assets and can be shared with all users of the model. Script debuggers can help you with script development and script editors can provide you with information on the automation interfaces available to you. Analyze the execution, for example by recording a Sequence diagram of the script execution and halting execution to view local variables.
To use the Solver Class, you need to have a knowledge of the functions available in your preferred Math Library and the parameters they use, as described in the product documentation.
Also see the Octave Solver, MATLAB Solver and Solvers Help topics.
- This facility is available in the Corporate, Unified and Ultimate Editions
- If you intend to use the Scripting facility under Crossover/WINE, you must also install Internet Explorer version 6.0 or above