::hwat::utils::FindRootAssembly
Gets the root assembly for a given component or assembly.
Syntax
::hwat::utils::FindRootAssembly str_searchList
Arguments
- str_searchList
- A Tcl list of lists of names of assemblies and/or components for which the root assembly has to be found.
Returns
- Success
- A Tcl list of lists of IDs of the corresponding root assembly for the given assemblies or comps.
- Failure
- {}
Example
::hwat::utils::FindRootAssembly {comps {Comp1 Part1} assems {FLOOR assem1 Frame}}
Comments
If an assembly or component has no root assembly, a "0" is returned corresponding to that component or assembly.