*tagcreate

Creates a tag entity.

Syntax

*tagcreate entity_type entity_id label body color

Type

HyperMesh Tcl Modify

Description

Creates a tag entity.

Inputs

entity_type
The type of entity to attach the tag to. Valid values are nodes and elements.
entity_id
The ID of the entity to attach the tag to.
label
The string to assign as the tag label.
body
The string to assign as the tag body.
color
The color of the tag. Valid values are 1-64.

Example

To create a tag named "top:control_arm" attached to node 100:

*tagcreate nodes 100 "top" "control_arm" 10

Errors

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