*morphconstraintcreatesmooth
Creates a smooth type morphconstraint for the selected nodes.
Syntax
*morphconstraintcreatesmooth nlist type closed name color
Type
HyperMesh Tcl Modify Command
Description
This command creates a smooth type morphconstraint for the selected nodes. During morphing, the perturbations of the nodes or dependent handles will be modified using a spline based approximation so that edge domains running along the selected entities will have smooth contours.
Inputs
- nlist
- The ID of the list containing the nodes. Valid values are 1 and 2.
- type
- 0 - Apply to nodes. All handles on the node list serve as anchors for the spline curve and nodes are adjusted to the curve based on influences
- closed
- 0 - Open ended
- name
- The name of the morph constraint.
- color
- The color of the constraint. Valid values are 1 through 64.
Example
To create a smooth morphconstraint for nodes 1-5 with a closed loop:
*createlist nodes 1 1 2 3 4 5
*morphconstraintcreatesmooth 1 0 1 "smooth" 32
Errors
if { [ catch {command_name...} ] } {
# Handle error
}