*collectorcreate

Creates a new collector.

Syntax

*collectorcreate type name material color

Type

HyperMesh Tcl Modify

Description

Creates a new collector.

Inputs

type
Collector type to create. Valid values are:
  • component
  • property
  • material
  • loadcols
  • systcols
  • vectorcols.
name
The name of the new collector.
material
The name of the material collector to which the new collector should point. This parameter is ignored unless a component or property collector is being created. A blank material name will create a material collector with the same name as the new component.
color
The color of the new collector. Valid values are 1 through 64.
This parameter is ignored, unless a component, load collector, or system collector is being created.

Examples

To create a component named Fender with material Steel and color 50:
*collectorcreate component Fender Steel 50

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}