*hf_Addendum_UpdateSlide
Update the handle position.
Syntax
*hf_Addendum_UpdateSlide handle_id x_coord y_coord z_coord tol
Type
HyperMesh Tcl Modify Command
Description
This command updates the position of handle with ID handle_id from its current position, to the new position with coordinate x_coord, y_coord, and z_coord.
Inputs
- handle_id
- Handle ID.
- x_coord
- X coordinate of the new handle position.
- y_coord
- Y coordinate of the new handle position.
- z_coord
- Z coordinate of the new handle position.
- tol
- Dummy double value. Should always be 1.0.
Example
To update the position of the handle with ID
5:
*hf_Addendum_UpdateSlide 5 1982.39933 287.781925 -36.9308916 1.
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}