SetMsResult SetMs(MsId tMs, SetMsArg tArg)
tMs. Opened modeling container instance moniker.
tArg. Data change parameters.
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, 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 changed.
Specify the metadata in the tArg.meta field, which is applied to objects.
Specify execution parameters of operations in the tArg.execParams field that must be executed with modeling container objects.
Specify the pattern in the tArg.metaGet field, according to which updated metadata is obtained.
The operation execution 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: