HyperWorks Tools

::hwat::utils::GetCompsFromAssem

::hwat::utils::GetCompsFromAssem

Previous topic Next topic No expanding text in this topic  

::hwat::utils::GetCompsFromAssem

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

NAME

::hwat::utils::GetCompsFromAssem - Gets the components in a given assembly.

 

SYNTAX

::hwat::utils::GetCompsFromAssem str_assemName {b_recurse}

 

ARGUMENTS

str_assemName

Name of the assembly is required.

b_recurse

OPTIONAL - Boolean flag to indicate if the sub-assemblies are to be included in the search.

FALSE – only immediate comps are included.  DEFAULT.

TRUE – all comps of this and child assems are included.

 

RETURNS

List of components contained in the assembly if the given assembly is found in the current HM session, {} otherwise.

 

EXAMPLE

::hwat::utils::GetCompsFromAssem Assemb1 FALSE

 

Comments

Can be used to find all of the components that belong to an assembly or group of assemblies.

 

 

See also

::hwat::utils::GetAssemsFromAssem

Utils Functions