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:
Creates new objects in modeling container.
Gets object data and metadata.
Executes various operations with objects, for example, calculates equations of models, gets 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: