plt3DICursor FindLocalMax

Moves the cursor to the local maximum of one component of the plot along an axis.

Syntax

plt3DICursor_handle FindLocalMax component axis direction

Application

HyperWorks Tcl Query

Description

Moves the cursor to the local maximum of one component of the plot along an axis.

Inputs

component
The component (X, Y, or Z).
axis
The axis to scan (X, Y, or Z).
direction
Either "forward" or "backward."

Example

To find the next local maximum Z value along X:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName 1
myPageName GetWindowHandle myWinName 1
myWinName GetClientHandle myClientName
myClientName GetAxisHandle mySurfaceName 1
mySurfaceName GetCursorHandle myCursorName 1
myCursorName FindLocalMax "z" "x" foreward

Errors

If no further maxima exist, the cursor is not moved.