::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"
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}}

Returns

Success
A Tcl list of systems.
Failure
{}

Example

::hwat::utils::GetTree 102 "FATSID"  "out"