*compositeshufflepairingconstraintupdate

Updates the pairing constraints of a composite shuffle design variable.

Syntax

*compositeshufflepairingconstraintupdate name pairing_flag stack_type ply_angle1 ply_angle2

Type

HyperMesh Tcl Modify

Description

This command updates the pairing constraints of a composite shuffle design variable.

Inputs

name
The name of the composite shuffle design variable to update.
pairing_flag
A flag to indicate that a pairing constraint is applied. Valid values are:
  • 0 – No pairing constraint
  • 1 – Pairing constraint is present
stack_type
A flag indicating the type of stacking sequence. Valid values are:
  • 0 – Default stacking sequence.
  • 1 – Stacking sequence is same for consecutive pairs.
  • 2 – Stacking sequence is reversed for alternate pairs.
ply_angle1
First ply orientation in degrees.
ply_angle2
Second ply orientation in degrees.

Examples

To update the pairing constraints of a composite shuffle design variable ds1, such that the stacking sequence remains the same for consecutive pairs with orientation of ±45 degrees:
*compositeshufflepairingconstraintupdate "ds1" 1 1 45 -45

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

10.0