OpenDim

Syntax

OpenDimResult OpenDim(OdId tObject, OpenDimArg tArg)

Parameters

tObject. Moniker of the repository object that is a dictionary.

tArg. Parameters for opening a dictionary.

Description

The OpenDim operation opens the dictionary and returns the context for working with metadata.

Comments

To execute the operation, in the tObject parameter specify moniker of the object that is a dictionary, and in the tArg parameter specify patterns for the metadata to be extracted on executing the operation. Also, in the tArg parameter specify the value of the parameters for opening the dictionary if it is parametric. If no patterns are specified in the tArg parameter, the result of the operation contains only the opened dictionary instance moniker. If the patterns are specified, the extracted data can be obtained in the meta field.

To further work with the opened instance of the dictionary, use the GetDimMetadata and GetDimElements operations. Use the ChangeDimSelection operation to work with elements selection. Use the CloseDim operation to close the opened dictionary instance.

Example

Various methods of using this operation are given in the following examples:

Example name
Opening Dictionary
Opening Parameteric Dictionary
Opening Dictionary and Extracting Data

See also:

Working with Dictionaries