GetMsResult GetMs(MsId tMs, GetMsArg tArg)
tMs. Opened modeling container instance moniker.
tArg. Operation execution parameters.
The GetMs operation extracts metadata of modeling container and its child objects.
The operation enables the user to:
Create new objects in modeling container.
Get object data and metadata.
Execute various operations with objects, for example, calculate equations of models, get calculated data, and so on.
To execute the operation, specify modeling container moniker in the tMs field and operation execution parameters in the tArg field:
Specify the pattern in the tArg.pattern field, according to which metadata is extracted.
Specify the filter in the tArg.filter field, according to which only the objects are selected that will be used in further work.
Specify execution parameters of operations in the tArg.execParams field that must be executed with modeling container object. The object is specified in the tArg.pattern.Item field.
Operation execution results in the requested metadata and execution results for the specified operations.
Various methods of using the operation are given in the following examples:
Creating objects:
Opening objects:
Equation calculation:
Models calculation:
Getting data:
Other examples:
See also: