*tagcreatelabelbyid

Creates tag entities using the entity IDs as the labels.

Syntax

*tagcreatelabelbyid entity_type mark_id body color

Type

HyperMesh Tcl Modify

Description

Creates tag entities using the entity IDs as the labels.

Inputs

entity_type
The type of entities to attach the tag to. Valid values are nodes and elements.
mark_id
The ID of the mark containing the entities to attach the tags to. Valid values are 1 and 2.
body
The string to assign as the tag bodies.
color
The color of the tags. Valid values are 1-64.

Example

To create tags named "<id>:control_arm" attached to nodes 100-110:

*createmark nodes 1 100-110
*tagcreatelabelbyid nodes 1 "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
}

Version History

12.0.110