::hwat::utils::GetTree - Lists the parent or child systems in a dummy. Should be used to retrieve paths without branches.
::hwat::utils::GetTree component hwatassemname option childlist
component |
The ID of the component to start from (root component). |
hwatassemname |
The HWAT assembly name for the dummy. This is required only if the next argument is "out" (default = ""). |
option |
In or out. "in" finds the path from the component to the H-Point. "out" goes in the opposite direction.(default = in). |
childlist |
A Tcl list of lists of the form compatible with the array set command. This array should map a system to all its children systems. (default = ""). For example: {12000 {12001 12002} 12001 {12003} 12002 {12004 12005}} . |
A Tcl list of systems if successful, {} if unsuccessful.
::hwat::utils::GetTree 102 "FATSID" "out"
For the "out" option if the procedure encounters a branch it will flag an error.