getType()

Get the type of the par value from the database.

Usage

parType = acs.getType( par, path )

Parameters

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

Return Value

parType (type int, str,...)
The parameter value.

Errors

The parameter in the data base must be of a valid type.

The parameter must exist in the data base.

Description

This routine returns the type of the parameter from the data base. The parameter address is given by its node path and the par name. The return type can be integer, string, enumeration, list, bool, ref, refs, array, real, tab, and so on. For example,
nodeNic = ROOT + RS + 'NODAL_INITIAL_CONDITION'
parType = acs.getType( par = "script", path = nodeNic )