HyperWorks Tools

::hwat::core::InferAssemsCreateEntitySets

::hwat::core::InferAssemsCreateEntitySets

Previous topic Next topic No expanding text in this topic  

::hwat::core::InferAssemsCreateEntitySets

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

NAME

::hwat::core::InferAssemsCreateEntitySets - Scans a model to find if the assemblies (component entity sets), in the passed Tcl list, exist in the model.  For each assembly name, the function checks if the components in the passed component list exist .  If any of the components exist, it looks for a component entity set with the same name as the assembly.  If found, the set is renamed with a unique name.  It then creates a component entity set with same name as the assembly and puts all existing components in that set.

 

SYNTAX

InferAssemblies0 list_of_assemblies

 

ARGUMENTS

list_of_assemblies

A Tcl list of assembly names and a component list corresponding to each assembly.

 

RETURNS

{} for success, {A_PILLAR} for failure.

 

EXAMPLE

::hwat::core::InferAssemblies0 [list A_PILLAR [list 1001 1002] B_PILLAR [2993 2334] Vehicle[list]]

 

 

See also

Core Functions