GetChildren ()

Get the list of child nodes under the given path.

Usage

nodeList = GetChildren( path ,reg = None )

Parameters

path (string)
Database path of the parent node.
reg (string)
Regular Expression used to filter the results.

Return Value

nodeList (list)
The list of nodes under the given path (parent node).

Errors

The path should be valid.

Description

This routine returns the list of child nodes under the given path which is specified by path. Also, this routine has an optional reg argument. If reg is not None, the regular expression will be used to filter the results, or else the list will be alpha-numerically sorted by node name. For example,
nodeRff = ROOT + RS + 'REFERENCE_FRAME'
children = GetChildren( nodeRff )