hm_getdrawbeadattribute
Returns the attributes of the drawbar or drawbead created by the die module.
Syntax
hm_getdrawbeadattribute id
Type
HyperMesh Tcl Query Command
Description
- Flag that identifies the insertion surface type (on_surf_type):
- 1 - Addendum
- 2 - Binder
- The tolerance value used to build the drawbar or the drawbead (tol).
- The x-component of the normal vector to the insertion surface (dirx).
- The y-component of the normal vector to the insertion surface (diry).
- The z-component of the normal vector to the insertion surface (dirz).
- The value of the right radius used to build the drawbar or the drawbead shape (right_radius).
- The value of the left radius used to build the drawbar or the drawbead shape (left_radius).
- The value of the right fillet used to build the drawbar or the drawbead shape (right_fillet).
- The value of the left fillet used to build the drawbar or the drawbead shape (left_fillet).
- The value of the hat length used to build the drawbar or the drawbead shape (hat_length).
- The ID of the guide line used to build the drawbar or the drawbead shape (line_id).
- The ID of the point used to identify the position (above or below the insertion surface) of the drawbar or the drawbead (ref_point_id).
Example
To get the drawbar attribute of the drawbar component with ID 15:
lassign [hm_getdrawbeadattribute 15] on_surf_type tol dirx diry dirz right_radius left_radius right_fillet left_fillet hat_length line_id ref_point_id
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
11.0.120