*laminateupdate
Updates one or more laminate entities.
Syntax
*laminateupdate stack_convention_flag stack_convention repeat_flag repeat_number laminate_config_flag laminate_config list_flag list_id interface_plies_flag interface_plies rows cols system_id
Type
HyperMesh Tcl Modify
Description
Updates one or more laminate entities.
Inputs
- mark_id
- The ID of the mark containing the laminates to update. Valid values are 1 and 2.
- stack_convention_flag
- 0 - Do not update the stack convention.
- stack_convention
- The laminate stack convention. Valid values are:
- repeat_flag
- 0 - Do not update the repeat number.
- repeat_number
- Currently not used. Set to 0.
- laminate_config_flag
- 0 - Do not update the laminate config.
- laminate_config
- The laminate configuration. Valid values are:
- list_flag
- 0 - Do not update the laminate list stacking sequence definitions.
- list_id
- The ID of the list containing plies or laminates (for laminate_config=2) that define the laminate stacking sequence.
- interface_plies_flag
- 0 - Do not update the laminate ply interface definitions.
- interface_plies
- The 2D entity array that contains interface plies which define the laminate ply interfaces, created using *createentityarray2d. Must be set to 1. Only used for laminate_config=1.
- rows
- The number of rows in the interface_plies array. Only used for laminate_config=1.
- cols
- The number of columns in the interface_plies array. Must be set to 2. Only used for laminate_config=1.
- system_id
- The ID of the system assigned to the laminate. 0 indicates the global system.
Example
To update laminates 3 and 4 to total ply laminates with plys 1 and 2:
*createlist plys 1 1 2
*createmark laminates 1 3 4
*laminateupdate 1 1 0 0 0 0 0 0 1 0 0 0 0
*clearmark laminates 1
*clearlist plys 1
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
11.0