*hf_AddSectionHandle
Add a handle on a section. The section is automatically identified.
Syntax
*hf_AddSectionHandle line_id x_coord y_coord z_coord dx_coord dy_coord dz_coord
Type
HyperMesh Tcl Modify Command
Description
This command adds a handle on a section. The position of the handle is given by (x_coord, y_coord, z_coord) and by the screen normal (dx_coord, dy_coord, dz_coord).
Inputs
- line_id
- The ID of the line.
- x_coord
- x-coordinate of the new handle.
- y_coord
- y-coordinate of the new handle.
- z_coord
- z-coordinate of the new handle.
- dx_coord
- x-coordinate of the screen normal.
- dy_coord
- y-coordinate of the screen normal.
- dz_coord
- z-coordinate of the screen normal.
Example
To add the handle on the section in the position (7214.46,-2031.49418 1206.14793) on line
ID
5:
*hf_AddSectionHandle 5 7214.46,-2031.49418 1206.14793 0.0733097235 -0.978155151 -0.194520399
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