*morphconstraintcreatelength

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

Syntax

*morphconstraintcreatelength stype smark type name nodes vec length bound color

Type

HyperMesh Tcl Modify Command

Description

Creates 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
name
Name of morph constraint
nodes
Mark number of node list
vec
The ID of the vector created using *createvector. Must be set to 1.
length
Constrained length of node list
bound
-1 - Greater than specified length
0 - Equal to specified length
1 - Less than specified length
color
The color of the constraint. Valid values are 1 through 64.

Example

*morphconstraintcreatelength (SHAPES,1,0,"length",1,1,43.5,0,32)

This command creates a model type constraint for the selected node list with the option of having those nodes measured node to node or along a vector and the option of having the node list 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.