*morphconstraintupdateangle

Updates a model type constraint based on the angle between three nodes.

Syntax

*morphconstraintupdateangle stype smark type mcon n1 n2 n3 vec angle bound color

Type

HyperMesh Tcl Modify

Description

Updates a model type constraint based on the angle between three nodes.

Inputs

stype
SHAPES
smark
Mark number of shapes
type
0 - Measure angle node to node
1 - Measure angle using vector
mcon
ID of morph constraint
n1
First end of angle
n2
Vertex of angle
n3
Second end of angle
vec
The ID of the vector created using *createvector. Must be set to 1.
angle
Constrained angle
bound
-1 - Greater than specified angle
0 - Equal to specified angle
1 - Less than specified angle
color
The color of the constraint. Valid values are 1 through 64.

Example

*morphconstraintupdateangle (SHAPES,1,0,5,21,22,23,1,45.0,0,32)

This command updates a model type constraint for the three selected nodes with the option of updating those nodes to be measured in the plane that they lie in or to be perpendicular to a vector and the option of having the angle forced to be greater than, less than, or equal to the specified angle.

The shapes on the mark will be used to force the model into compliance with the specified constraint, if possible.

Errors

None.