Skip to content

OpenModel ​

A model has been loaded. The ID of the model is assigned to the variable modelid.

Parameters ​

ParameterDescription
modelid (idValue, optional) -ue, the ID of the model

## Exit value: ​

none

Remarks ​

The event is sent after the model has been loaded, but before a model window for that model is created.

See Also ​

Example ​

leo-grammar

   ON_EVENT "OpenModel" {
       CC "Core" EVAL_EXPRESSION (maval("Description")) modelid:(modelid)
      CC "AdoScript" INFOBOX (result)
  }

   ON_EVENT "OpenModel" {
       CC "Core" EVAL_EXPRESSION (maval("Description")) modelid:(modelid)
      CC "AdoScript" INFOBOX (result)
  }

displays the description of a model after it has been opened.