*tagupdateentity

Updates a tag entity.

Syntax

*tagupdateentity id entity_type entity_id label body color

Type

HyperMesh Tcl Modify

Description

Updates a tag entity.

Inputs

id
The ID of the tag to update.
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 update tag 100 to be named "top:control_arm" and attach to node 500:

*tagupdateentity 100 nodes 500 "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
}

Version History

11.0.101