List of Dymola flags

♀尐吖头ヾ 提交于 2019-12-30 05:24:06

问题


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

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.


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/17276571/list-of-dymola-flags

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!