*morphrecalculateconstraints

Recalculates out-of-date morph constraints.

Syntax

*morphrecalculateconstraints type

Type

HyperMesh Tcl Modify Command

Description

Recalculates out-of-date morph constraints.

This may be necessary either because they have been edited or because the entities they reference have been changed. Once recalculated, the morph constraints will be applied to the model with respect to the current state of the model rather than a previous state.

HyperMorph keeps track of which morph constraints need to be recalculated and recalculates them at the appropriate times. However, HyperMorph may call this command as part of internal calculations and so it may get written out to the command file. Thus, scripts which emulate steps taken from the command file should contain this command in order to ensure proper execution.

Inputs

type
0 - Recalculate all morph constraints
1 - Recalculate only pinned type constraints
2 - Recalculate only tacit type constraints
3 - Recalculate only pinned and tacit type constraints
4 - Recalculate only CFD type constraints
5 - Recalculate only CFD and pinned type constraints
6 - Recalculate only CFD and tacit type constraints
7 - Recalculate only CFD, pinned, and tacit type constraints
8 - Recalculate only match type constraints
9 - Recalculate only match and pinned type constraints
10 - Recalculate only match and tacit type constraints
11 - Recalculate only match, pinned, and tacit type constraints
12 - Recalculate only match and CFD type constraints
13 - Recalculate only match, CFD, and pinned type constraints
14 - Recalculate only match, CFD, and tacit type constraints
15 - Recalculate only match, CFD, pinned, and tacit type constraints

Examples

Recalculate all morph constraints in the model:

*morphrecalculateconstraints 0

Errors

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

Version History

2020.1