HyperWorks Tools

::hwat::utils::GetTree

::hwat::utils::GetTree

Previous topic Next topic No expanding text in this topic  

::hwat::utils::GetTree

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

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

A Tcl list of systems if successful, {} if unsuccessful.

 

EXAMPLE

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

 

Comment

For the "out" option if the procedure encounters a branch it will flag an error.

 

See also

Utils Functions