Important:
If you set flags in scripts or in Modelica text, you must conclude the line with semicolon, for example:
Advanced.ActivateSmartDelete=1;
Compare with Step 3 below.
You can also display and change flags using a dialog box, see Working with Dymola Flags. You may see this
dialog box as a complement, there are some valuable features in that dialog box, for example:
You can filter flags.
Flags that have another value that the default one are indicated by yellow
background.
Flags that are saved between sessions are displayed in italics.
From the Behavior Tools section of the action bar, click Modelica Scripting .
The Modelica Scripting window appears.
To display the value of the flag Advanced.ActivateSmartDelete, type it in the lower line (command input line) of the Modelica Scripting window and press Enter.
The following appears in the main pane in the window, given the value of the flag is 2:
Advanced.ActivateSmartDelete
= 2
To change the value of the flag to 1, type, in the command input line,
Advanced.ActivateSmartDelete=1 and press
Enter.
The following appears in the main pane in the
window:
Advanced.ActivateSmartDelete=1
The value of the flag is
now changed, you can control this by repeating Step 2.
Tip:
You can click
in the command input line and use "arrow up" to display previously executed commands in
the command line.