*compositeshuffledesvarupdatewithlaminateoption
Updates a composite shuffle design variable.
Syntax
*compositeshuffledesvarupdatewithlaminateoption name entity_type mark_id
Type
HyperMesh Tcl Modify
Description
This command updates a composite shuffle design variable that corresponds to a DSHUFFLE card. The design variable can be updated using laminates or properties of type PCOMP/PCOMPG.
Inputs
- name
- The name of the design variable to update.
- entity_type
- The type of entity to update the design variable from. Valid values are laminates and properties.
- mark_id
- The ID of the mark containing the entities. Valid values are 1 and 2.
Examples
To update a composite shuffle design variable ds1 using laminates l1, l2, l3 and
l4:
*createmark laminates 1 "l1" "l2" "l3" "l4"
*compositeshuffledesvarupdatewithlaminateoption "ds1" laminates 1
To update a composite shuffle design variable ds2 using properties pcomp1 and
pcomp2:
*createmark properties 1 "pcomp1" "pcomp2"
*compositeshuffledesvarupdatewithlaminateoption "ds2" properties 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