*morphhandlepertxyz

Perturbs handles by a specified value.

Syntax

*morphhandlepertxyz entity_type mark_id x_val y_val z_val system_id symmetry_flag constraint_flag

Type

HyperMesh Tcl Modify

Description

All handles on the mark will be given a perturbation equal to the x, y, and z values for the given system. If symmetry is used, all handles linked to marked handles by symmetry will also be perturbed. If constraints are used they will be applied to the perturbations.

Inputs

entity_type
The type of entity to perturb. Only supported for handles.
mark_id
The ID of the mark containing the handles. Valid values are 1 and 2.
x_val
The X value of the perturbation.
y_val
The Y value of the perturbation.
z_val
The Z value of the perturbation.
system_id
ID of the coordinate system used to determine perturbation direction. To use the global system, set this value to 0.
symmetry_flag
0 - Do not use symmetry links.
1 - Use symmetry links
constraint_flag
0 – Do not use constraints, perform auto qa
1 – Use constraints, perform auto qa
2 – Do not use constraints, do not perform auto qa
3 – Use constraints, do not perform auto qa

Example

To perturb handles by 2.0 in the x direction, 1.0 in the y direction, and 0.1 in the z direction using the global system:

*createmark handles 1 1 2 3 4
*morphhandlepertxyz handles 1 2 1 0.1 0 1 1

Errors

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