GetCategoryDiscipline
An attribute in the metadata of a Simulation object determines to which
category (Model, Scenario, or Result) the object belongs and hence the icon to
associate with the object. If this attribute is not provided, you can use the
GetCategoryDiscipline function to temporarily update the model
and to find the correct icon. This function is used to update old models.
Signature
GetCategoryDiscipline(Entity : SIMObjSimulationCategoryReference) : String
Arguments
| Name | Input / Output | Required? | Type | Comment |
|---|---|---|---|---|
Entity
|
In | Yes | SIMObjSimulationCategoryReference | None |
ReturnType
String
Example
Let rattrapDiscipline(String) rattrapDiscipline = GetCategoryDiscipline(ThisObject)