*compositesizedesvarcreatewithlaminateoption

Creates a composite size design variable.

Syntax

*compositesizedesvarcreatewithlaminateoption name entity_type mark_id

Type

HyperMesh Tcl Modify

Description

This command creates a composite size design variable that corresponds to a DCOMP 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 use to create the design variable. 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 size design variable dc1 using laminates l1, l2, l3 and l4:
*createmark laminates 1 "l1" "l2" "l3" "l4"
*compositesizedesvarcreatewithlaminateoption "dc1" laminates 1
To create a composite size design variable dc2 using properties pcomp1 and pcomp2:
*createmark properties 1 "pcomp1" "pcomp2"
*compositesizedesvarcreatewithlaminateoption "dc2" 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