pltICurve SetLayer

Sets the layer ID of the curve.

Syntax

pltICurve_handle SetLayer layer

Application

HyperWorks Tcl Modify

Description

Returns 0 = HW_Success, 3 = HW_InvalidHandle, or 4 = HW_InvalidArgs

Inputs

layer
The index of the layer to which to assign the curve (must be positive).

Example

To assign a curve to a layer:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName [myProjectName GetActivePage]
myPageName GetWindowHandle myWindowName [myPageName GetActiveWindow]
myWindowName GetClientHandle myPlotName
myPlotName GetCurveHandle myCurveName 1
myCurveName SetLayer 2

Errors

None.