getPar()
Get a par value from the database.
Usage
parVal = acs.getPar( name, path, parType = pnlDb.BOOL )
Parameters
- par (string)
- The parameter name.
- path (string)
- Data base path of the par.
- parType (Type INT, BOOL, REAL...)
- Parameter type. It could be INT, BOOL, REAL, STR, ENUM, REF, TAB, TAREA, LIST, REFS, ARY, FDATA, FILE, DIR, PASSWD, FONT or COLOR.
Return Value
- parVal (Depends on parType (int,str,...)
- The parameter value.
Errors
The path should be valid.
The type of the parameter in the data base must be in accordance with the parType.
Description
nodeCrd = ROOT + RS + 'Mesh' + RS + 'Coordinate'
usrIds = acs.getPar( name = "usrIds", path = nodeCrd, ARRAY )