*morphconstraintupdatelength

Updates a model type constraint based on the length of a list of nodes.

Syntax

*morphconstraintupdatelength stype smark type mcon nodes vec length bound color

Type

HyperMesh Tcl Modify Command

Description

Updates a model type constraint based on the length of a list of nodes.

Inputs

stype
SHAPES
smark
Mark number of shapes
type
0 - Measure length node to node
1 - Measure length using vector
mcon
The ID of the morph constraint to update.
nodes
Mark number of node list
vec
Mark number of vector
length
constrained length of node list
bound
-1 - Greater than specified length
0 - Equal to specified length
1 - Less than specified length
color
Color (1 through 64 inclusive)

Example

*morphconstraintupdatelength (SHAPES,1,0,5,1,1,43.5,0,32)

This command updates a model type constraint for the selected node list with the option of updating those nodes to be measured node to node or along a vector and the option of updating the node list to be forced to be greater than, less than, or equal to the specified length.

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

Errors

None.