HyperWorks Tools

::hwat::utils::CreateCollector

::hwat::utils::CreateCollector

Previous topic Next topic No expanding text in this topic  

::hwat::utils::CreateCollector

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

NAME

::hwat::utils::CreateCollector - Create an HM collector.

 

SYNTAX

::hwat::utils::CreateCollector entityType name [cardimage] [template] [material] [color]. ]

 

ARGUMENTS

entityType

The type of collector being created.  This value should be set to component, property, material, loadcols, or systcols.

name

The collector name.

cardimage

The cardimage for the collector (default = {}).

template

The path name of the template which contains the cardimage. (default = {})

material

The name of the material collector to which the new collector should point (only for component and property collectors). (default = {})

color

The color for component, load or system collector. (default = 1).

 

RETURNS

The ID of the collector if successful, {} if unsuccessful.

 

EXAMPLE

::hwat::utils::CreateCollector “components” “comp1” “PCOMP” “/templates/feoutput/nastran/general” “mat1” “9”

 

Comments

The newly created collector is set as the "current" collector.

 

See also

::hwat::utils::CollectorExists

::hwat::utils::GetUniqueName

Utils Functions