pltIPlot SetLegendAutoPos

Sets the state for automatically positioning the legend.

Syntax

pltIPlot_handle SetLegendAutoPos state

Application

HyperWorks Tcl Modify

Description

Sets the state for automatically positioning the legend.

Inputs

state
True
Enables the legend auto-positioning.
False
Disables the legend auto-positioning.

Example

hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName [myProjectName GetActivePage]
myPageName GetWindowHandle myWindowName [myPageName GetActiveWindow]
myWindowName GetClientHandle myPlotName
myPlotName SetLegendAutoPos True

Errors

Returns success or an error code.