::hwat::utils::FindRootAssembly - Gets the root assembly for a given component or assembly.
::hwat::utils::FindRootAssembly str_searchList
str_searchList |
A Tcl list of lists of names of assemblies and/or components for which the root assembly has to be found. For example: {comps {Part26 Comp1} assems {Assem1Frame Body}}. |
A Tcl list of lists of IDs of the corresponding root assembly for the given assemblies or comps, if successful,{} otherwise. For example: {comps {1 2} assems {1 0 2}}.
::hwat::utils::FindRootAssembly {comps {Comp1 Part1} assems {FLOOR assem1 Frame}}
If an assembly or component has no root assembly, a "0" is returned corresponding to that component or assembly.