*freesizedesvarcreatewithlaminateoption
Creates a free size design variable.
Syntax
*freesizedesvarcreatewithlaminateoption mark_id name minthick maxthick ptype entity_type
Type
HyperMesh Tcl Modify
Description
This command creates a free size design variable that corresponds to a DSIZE card. The design variable can be created 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 property type. Valid values are:
- 1 – PSHELL
- 3 – PCOMP or PCOMPG
- 4 - Laminates
- entity_type
- The entity types on the mark.
- Properties
- Laminates
Examples
To create a free size design variable fs1 using laminates l1 and
l2:
*createmark laminates 1 "l1" "l2"
*freesizedesvarcreatewithlaminateoption 0 fs1 0.0 0.0 4 laminates
To create a free size design variable fs2 using properties pcomp1 and
pcomp2:
*createmark properties 1 "pcomp1" "pcomp2"
*freesizedesvarcreatewithlaminateoption 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
10.0