poIAdvancedQuery SetScalarDefine

Sets the scalar define ID.

Syntax

advancedQuery_handle SetScalarDefine id

Application

HyperView Tcl Modify

Description

This command sets the ID of the scalar define.

Inputs

id
The scalar define ID.

Example

To set the scalar define ID:
hwi OpenStack
hwi GetActiveClientHandle client
set advQueryID [client AddAdvancedQuery]
client GetAdvancedQueryHandle advancedQuery_handle $advQueryID
advancedQuery_handle AddSimulations "current" "current"
advancedQuery_handle SetQuery "entity.id entity.value"
advancedQuery_handle SetScalarDefine 3
advancedQuery_handle SetQueryLogic "[rule_handle GetID]"
hwi CloseStack

Errors

This command returns HW_Error, if an invalid ID is passed to the argument ID.