poIVectorDefine SetLayerFilter

Sets the layer filter of the result definition.

Syntax

poIVectorDefine_handle SetLayerFilter id

Application

HyperView Tcl Modify

Description

This command, valid only in Upfront Data Loading Mode, sets the layer filter ID for this result definition. Returns Success (0) or an error code.
Note: The result definition can only be modified if it is not cached.

Inputs

id
The layer filter ID.

Example

To set the layer filter ID of a vector result definition:

hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetResultHandle vdefine 3 vector
vdefine SetLayerFilter 2
hwi CloseStack

Errors

None.

Related Topics

See the Upfront Data Loader APIs topic for additional information regarding the various Tcl/Tk commands that have been added for this workflow.