*compositesizedesvarupdatewithlaminateoption

Creates a composite size design variable.

Syntax

*compositesizedesvarupdatewithlaminateoption name entity_type mark_id

Type

HyperMesh Tcl Modify

Description

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