poIAdvancedQuery SetQuery

Sets the query string in the advanced query.

Syntax

advancedQuery_handle SetQuery query

Application

HyperView Tcl Modify

Description

This command is used to set the query string in the advanced query.

Inputs

query
Accepts only the following query strings: “entity.id”, “entity.pool”, “entity.value”, “entity.layer”, “component.id”, “component.name”, “subcase.id”, “subcase.label”, “simulation.id”, “simulation.label”, “elem.config” and “corner.data”.

Example

To set the query string form the advanced query:
hwi OpenStack
hwi GetActiveClientHandle client
set ruleID [client AddQueryRule extreme]
client GetQueryRuleHandle rule_handle $ruleID
rule_handle SetExtreme "TopN 3"
set advQueryID [client AddAdvancedQuery]
client GetAdvancedQueryHandle advancedQuery_handle $advQueryID
advancedQuery_handle AddSimulations “current” “current”
advancedQuery_handle SetQueryRule "[rule_handle GetID]" 
advancedQuery_handle SetQuery “entity.id entity.value”
hwi CloseStack

Errors

This command returns HW_Error, if an invalid string is passed to the query string.