202114 Jun

Conversion Scripts: Create One As You Develop Your Library


In this blog post I’m going to go through an approach you can use to create your own conversion scripts while making changes to your library. But there are 2 approaches using Dymola that you can use to build your own conversion scripts, depending whether you want to do this during or after library development. When you set the flags Advanced.ActivateSmartRenameClass and Advanced.ActivateSmartRename to 3, and then make name and location changes to your library, Dymola automatically generates conversion commands. • Make changes to your library using the graphical user interface (GUI): • When development is complete, you can move the conversion commands generated in the library annotation to a separate conversion script. • If you swap to making changes in the Modelica text rather than the GUI then the conversion commands will not be automatically created.

Source: Claytex Full Article