*morphconstraintupdateedge
Updates a tangency constraint between two edge or 2D domains or for a single edge domain.
Syntax
*morphconstraintupdateedge mcon dptr1 dptr2 end type vec color
Type
HyperMesh Tcl Modify Command
Description
This command updates a tangency type constraint either between two edge domains or 2D domains or at the end of one edge domain. For the main type, dptr1 is the main and dptr2 is the secondary. For the secondary type, dptr2 is the main and dptr1 is the secondary. For the attached type, dptr1 follows dptr2.
Inputs
- mcon
- The ID of morph constraint to update.
- dptr1
- The ID of the edge or 2D domain.
- dptr2
- The ID of the edge or 2D domain.
- end
- The ID of node at fixed end (for fixed type).
- type
- 1 - Fixed (edge domains only)
- vec
- The ID of the vector created using *createvector. Must be set to 1.
- color
- The color of the constraint. Valid values are 1 through 64.
Examples
To update a continuous tangency constraint with ID 5 between domains 12 and 14:
*createvector 1 1.0 0.0 0.0
*morphconstraintupdateedge 5 12 14 1 4 1 44
To update a secondary tangency constraint with ID 12 where domain 14 is forced tangent to domain 12:
*createvector 1 1.0 0.0 0.0
*morphconstraintupdateedge 12 12 14 1 2 1 44
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
9.0