poIQueryCtrl GetRemoveDuplicates

Gets the state of the remove duplicates option.

Syntax

poIQueryControl_handle GetRemoveDuplicates

Application

HyperView Tcl Query

Description

This command retrieves the state of the remove duplicates option from the query handle.

Example

To get the state of the remove duplicates option from the query handle:
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetModelHandle model_handle [client_handle GetActiveModel]
set sid [model_handle AddSelectionSet node]
model_handle GetSelectioSetHandle selset_handle $sid
selset_handle Add all
model_handle GetQueryCtrlHandle query_handle
set rem_duplicate [query_handle GetRemoveDuplicates]
hwi CloseStack

Errors

A bool should always be returned.