Question

Some settings in Dymola can be altered by setting flags in the "Commands" window:

Dymola screenshot Flags

Some examples for flags are:

  • Advanced.AutoFormatting
  • Advanced.PedanticModelica
  • Advanced.LogStartValuesForIterationVariables
  • Hidden.PrintFailureToDifferentiate

Is there a comprehensive list of all Dymola flags?
Or, even better, a command to print such a list?
Or, even better, something like the about:config in Firefox?

Especially, I would like to change the default setting for the Save contents in one file checkbox to Directories - No Questions because version control software (git in my case) works better with many small files.

Was it helpful?

Solution 2

Since Dymola 2018 (and may be an earlier versions) there is a flag called Advanced.DefaultStoreAsOneFile. Setting to false will enable to save packages as directories.

This flag can be set via GUI as well, see Edit > Options..., and in the pop-up window, the Tab Version, uncheck As default store packages as one file. In this way, the setting will be saved in your setup.dymx (setup.mos in former Dymola versions) file and will thus not affect the Dymola for other users. You can also find some more flags in that file.

But I would suggest to split this question into two ones since there are two topics treated in just one thread.

OTHER TIPS

The Save contents in one file checkbox cannot be changed by flags, but by (un)commenting the line Dymola5StoreOnOneFile 0 in the file $Dymola$\insert\dymodraw.ini.

But many other settings can be changed using flags. Use list() to print a list of flags (unfortunately, Hidden. flags are not included in that list) or use help() to get more help.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top