GetMsResult GetMs(MsId tMs, GetMsArg tArg)
tMs. Opened modeling container instance moniker.
tArg. Operation execution parameters.
The GetMs operation gets 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, in the tMs field specify modeling container moniker, and in the tArg field specify operation execution parameters:
In the tArg.pattern field specify the pattern that will be used to get metadata.
In the tArg.filter field specify the filter that will be used to select only the objects that will be used for further work.
In the tArg.execParams field specify execution parameters for the operations that should be executed with a modeling container object. In the tArg.pattern.Item field specify the object itself.
The operation 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: