::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.
- b_recurse
- Boolean flag to indicate if the sub-assemblies are to be included in the
search.
- False
- Only immediate comps are included.
- True
- All comps of this and child assems are included.
Returns
- Success
- List of components contained in the assembly if the given assembly is found in the current HyperMesh session.
- Failure
- {}
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.