poIRenderOptions SetErosionDrawEnabled

Sets the erosion draw enabled status.

Syntax

poIRenderOptions_handle SetErosionDrawEnabled value

Application

HyperView Tcl Modify

Description

This command sets the erosion draw enabled status.

Inputs

value
True/false.

Example

To set the erosion draw enabled value to false:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
set pageIndex [myProjectName GetActivePage]
myProjectName GetPageHandle myPageName $pageIndex
set windowIndex [myPageName GetActiveWindow] 	
myPageName GetWindowHandle myWindowName $windowIndex	
myWindowName GetClientHandle myPostName
myPostName GetRenderOptionsHandle myROptionsName
myROptionsName SetErosionDrawEnabled false

Error

Returns 0 if successful, or an error code (HW_InvalidHandle) if the handle used to invoke the method is no longer valid.