HyperWorks Tools

::hwat::utils::FindRootAssembly

::hwat::utils::FindRootAssembly

Previous topic Next topic No expanding text in this topic  

::hwat::utils::FindRootAssembly

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

NAME

::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.  For example: {comps {Part26 Comp1} assems {Assem1Frame Body}}.

 

RETURNS

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}}.

 

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.

 

 

See also

Utils Functions