runmodel_setting

The function runmodel_setting can be used to retrieve information on the ITP context in which the model is run. The function has one parameter type TEXT which contains the setting that the function retrieves. The function result is type TEXT and holds the retrieved value.

Supported settings are:

Example

TEXT result := runmodel_setting("ResultDocument")
TEXT user := runmodel_setting("User")

Note

The settings ModelRepositoryName, ModelRevision, RepositoryCreator, and RepositoryCompileDate are stored in the ITP Model at the moment it is compiled in the ITP/MDK Repository. If the ITP Model is renamed later, moved, imported, or exported this information is kept unmodified. ITP Models must be compiled with the ITP/MDK Repository version 3.5.11 or higher to include this information.

Note

The following settings will not work when running a model using ITP/Workstation;

You can create a model using these settings with ITP/Workstation.