::hwat::utils::GetTree
Lists the parent or child systems in a dummy. Should be used to retrieve paths without branches.
Syntax
::hwat::utils::GetTree component hwatassemname option childlist
Arguments
- 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"
- option
- In or out. in finds the path from the component to the H-Point. out goes in the opposite direction.
- 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.
Returns
- Success
- A Tcl list of systems.
- Failure
- {}
Example
::hwat::utils::GetTree 102 "FATSID" "out"