plt3DIPlot SetAspectRatioLocked

Sets whether the axis ratios are locked.

Syntax

plt3DIPlot_handle SetAspectRatioLockedlocked

Application

HyperWorks Tcl Query

Description

The aspect ratios of the axes can be set explicitly. The X axis is assumed always to have a length of one, with Y and Z axes having individual values associated with them to define the ratios. Once set, the ratios can be frozen by calling SetAspectRatioLocked. If not locked, the ratios may be changed by manipulations of the GUI.

Inputs

locked
Keep axes fixed, true or false.

Example

To freeze the aspect ratios in the current state:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName 1
myPageName GetWindowHandle myWinName 1
myWinName GetClientHandle myClientName
myClientName GetSurfaceHandle mySurfaceName
myClientName SetAspectRatioLocked true
myClientName Draw

Errors

None.