hf_getdrawbeadforce
Calculates and returns the draw bead forces.
Syntax
hf_getdrawbeadforce material_name thickness height radius shoulder_radius friction type
Type
HyperMesh Tcl Query Command
Description
This command returns the locking condition, restraint force, closure force and final force.
Inputs
- material_name
- Name for the material
- thickness
- Blank thickness
- height
- Draw bead height
- radius
- Draw bead radius
- shoulder_radius
- Shoulder radius
- friction
- Friction
- type
- Shape type:
Example
set returnValue [hf_getdrawbeadforce "CRDQ" 1.0 1.0 6.25 6.25 0.125 1]
set locking [ lindex $ returnValue 0 ]
set restraint [ lindex $ returnValue 1 ]
set closure [ lindex $ returnValue 2 ]
set final [ lindex $ returnValue 3 ]
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}