GetDic()
Get a dictionary parameter from the data base.
Usage
dicPar = GetDic( path, par, default=None )
Parameters
- path (string)
- Data base path of the node containing the parameter.
- par (string)
- Parameter name.
- default (dictionary)
- Default value. This value is returned if the indicated path and par does not exist.
Return Value
- dicPar (dictionary)
- The parameter value.
Errors
- The parameter in the data base must be a dictionary.
- The parameter must exist in the data base or the default must not be None.
Description
nodeDB = ROOT + RS + 'main' + RS + 'CAD_DATA'
sibFaceMap= GetDic( nodeDB, 'sibFaceMap', {} )