::hwat::utils::CreateCollector

Create a HyperMesh 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

Success
The ID of the collector
Failure
{}

Example

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

Comments

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