GetFile()
Get a file parameter from the data base.
Usage
filePar = GetFile( path, par, default=None )
Parameters
- path (string)
- Data base path of the node containing the parameter.
- par (string)
- Parameter name.
- default string (path of the file)
- Default value. This value is returned if the indicated path and par does not exist.
Return Value
- filePar string (path of the file)
- The parameter value.
Errors
- The parameter in the data base must be a string.
- The parameter must exist in the data base or the default must not be None.
Description
node = ROOT + RS + 'User' + RS + 'HEAT_SINK'
cadFile = GetFile( node, 'CADFile' )