*compositeshuffledesvarcreatewithlaminateoption
Creates a composite shuffle design variable.
Syntax
*compositeshuffledesvarcreatewithlaminateoption name entity_type mark_id
Type
HyperMesh Tcl Modify
Description
This command creates a composite shuffle design variable that corresponds to a DSHUFFLE card. The design variable can be created using laminates or properties of type PCOMP/PCOMPG.
Inputs
- name
- The name of the design variable to create.
- entity_type
- The type of entity to create 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 create a composite shuffle design variable ds1 using laminates l1, l2, l3 and
l4:
*createmark laminates 1 "l1" "l2" "l3" "l4"
*compositeshuffledesvarcreatewithlaminateoption "ds1" laminates 1
To create a composite shuffle design variable ds2 using properties pcomp1 and
pcomp2:
*createmark properties 1 "pcomp1" "pcomp2"
*compositeshuffledesvarcreatewithlaminateoption "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