SetMsResult SetMs(MsId tMs, SetMsArg tArg)
tMs. Opened modeling container instance moniker.
tArg. Parameters for changing data.
The SetMs operation changes metadata of modeling container and its child objects.
The operation enables the user to:
Set up object parameters.
Change 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 change metadata.
In the tArg.meta field specify the metadata that will be applied to objects.
In the tArg.execParams field specify execution parameters of operations that should be executed with modeling container objects.
In the tArg.metaGet field specify the pattern that will be used to get updated metadata.
The operation results in the requested metadata if the tArg.metaGet field or some operation execution results were defined.
Use the SaveObject operation to save the changes.
The ways of using the operation are given in the following examples:
Setting up method parameters:
Deleting objects:
Editing data:
Adding objects:
See also: