*hf_SlideHandleptrOnSectionPlane

Updates the handle position. The binder and the section are automatically identified.

Syntax

*hf_SlideHandleptrOnSectionPlane handle_id x_mouse y_mouse reserved

Type

HyperMesh Tcl Modify

Description

This command updates the position of handle with ID handle_id from its current position, to the new mouse position with coordinate (x_mouse and y_mouse).

Inputs

handle_id
The ID of the handle to position.
x_mouse
Mouse x-coordinate of the new handle position.
y_mouse
Mouse y-coordinate of the new handle position.
reserved
Reserved for future use. Must be 1.0.

Example

To update the position of the handle with ID 5:
*hf_SlideHandleptrOnSectionPlane 5 1982.39933 287.781925 1

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