*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

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 master type, dptr1 is the master and dptr2 is the slave. For the slave type, dptr2 is the master and dptr1 is the slave. 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)
2 - Master (edge domains only)
3 - Slave (edge domains only)
4 - Continuous
5 - Attached (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 master 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