*freesizedesvarupdatewithlaminateoption

Updates a free size design variable.

Syntax

*freesizedesvarupdatewithlaminateoption mark_id name minthick maxthick ptype entity_type

Type

HyperMesh Tcl Modify

Description

This command updates a free size design variable that corresponds to a DSIZE card. The design variable can be updated using laminates or properties of type PSHELL, PCOMP, or PCOMPG.

Inputs

mark_id
The mark ID containing the laminates or properties. Valid values are 1 and 2.
name
Name of the design variable.
minthick
When ptype is PSHELL, this refers to the minimum thickness of the shell. Otherwise, set to 0.0.
maxthick
When ptype is PSHELL, this refers to the maximum thickness of the shell. Otherwise, set to 0.0.
ptype
The type of property. Valid values are:
  • 1 – PSHELL
  • 3 – PCOMP or PCOMPG
  • 4 - Laminates
entity_type
The type of entities on the mark, properties or laminates.

Examples

To update a free size design variable fs1 using laminates l1 and l2:
*createmark laminates 1 "l1" "l2"
*freesizedesvarupdatewithlaminateoption 0 fs1 0.0 0.0 4 laminates
To update a free size design variable fs2 using properties pcomp1 and pcomp2:
*createmark properties 1 "pcomp1" "pcomp2"
*freesizedesvarupdatewithlaminateoption 1 fs2 0.0 0.0 3 properties

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