Page tree

MagicDraw 19.0 LTR SP3 Documentation


Use the Environment Options dialog to select a default macro language.

 

To select a default macro language


  1. Click Options > Environment on the main menu.

    Environment Options Menu

    The Environment Options dialog opens.

    The Environment Options Dialog

  2. Select the Macros node.
  3. Click the box next to the Default Macro Language box to see a list of supported programming languages, see figure below.

    Selecting Macro Language

  4. Select JythonBeanShellGroovyJRuby, or JavaScript.
  5. Click  OK to save the selected language as the default macro language.

 

  • JavaScript is the default macro language.
  • Macro Engine currently supports BeanShell, Groovy, JRuby, JavaScript (Nashorn and Rhino), and Jython only.

 

  • No labels