getEnum()

Get an enum par value from database.

Usage

enumVal = acs.getEnum( par, path )

Parameters

par (string)
The parameter name.
path (string)
Data base path of the par.

Return Value

enumVal (enumerated)
The parameter value.

Errors

The path should be valid.

The parameter in the data base must be an Enum value.

Description

This routine returns an enum parameter from the data base. The parameter address is given by its node path and the par name. For example,
modelSrf = ROOT + RS + "Model" + RS + "Surfaces"
nodeCbc = modelSrf + RS + name + RS + 'SIMPLE_BOUNDARY_CONDITION'
type = acs.getEnum( "type", nodeCbc )