*translatemark

Translates a selection of entities along a vector.

Syntax

*translatemark entity_type mark_id vector_id distance

Type

HyperMesh Tcl Modify

Description

This command translates a selection of entities along a vector.

Inputs

entity_type
The type of entity to translate.
mark_id
The ID of the mark containing the entities. Valid values are 1 and 2.
vector_id
The ID of the vector to use for the translation. This is defined using the *createvector command.
distance
The distance to translate.

Example

To translate node 1 5 units along the y-axis:

*createvector 1 0.0 1.0 0.0
*createmark nodes 1 1
*translatemark nodes 1 1 5.0

Errors

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