*morphalterdistancevec

Alter the distance between two nodes using morphing and measuring along a vector.

Syntax

*morphalterdistancevec h1type h1mark h2type h2mark n1 n2 hold dist sym con vec

Type

HyperMesh Tcl Modify Command

Description

Alter the distance between two nodes using morphing and measuring along a vector.

Inputs

h1type
Handles
h1mark
Handle mark number - end a
h2type
Handles
h2mark
Handle mark number - end b
n1
ID of node - end a
n2
ID of node - end b
hold
Specify which part of the 2-node system to anchor:
0 - Hold end a
1 - Hold end b
2 - Hold middle
dist
New distance between n1 and n2
sym
Flag for use of symmetry:
0 - Do not use symmetry
1 - Use symmetry
con
Flag for use of constraints:
0 - Do not use constraints
1 - Use constraints
vec
Vector mark number

Example

*morphalterdistancevec (HANDLES,0,HANDLES,1,132,783,0,100.0,1,1,1)

The handles on the marks will be moved based on hold to create the new distance dist between n1 and n2 as measured along vector vec. 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.

Errors

None.