*collectorcreateonly

Creates a new collector without creating a material collector.

Syntax

*collectorcreateonly type name existing_name color

Type

HyperMesh Tcl Modify

Description

Creates a new collector without creating a material collector.

Inputs

type
Collector type to create. Valid values are:
  • component
  • property
  • material
  • loadcols
  • systcols
  • vectcols
name
The name of the new collector.
existing_name
The name of an existing collector to create the new collector the "same as". Entities contained in the existing collector are not copied, only attributes and relevant data names.
Use a blank name to ignore this option.
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 color 50:
*collectorcreateonly component Fender "" 50
To create a component named Wheel_Left the same as the component named Wheel_Right with color 50:
*collectorcreateonly component Wheel_Left Wheel_Right 50

Errors

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