poIAdvancedQuery AddSimulations

Adds the simulation to the advanced query.

Syntax

advancedQuery_handle AddSimulations "subcases" "simulations"

Application

HyperView Tcl Modify

Description

This command is used to add/load simulations for the given subcases in advanced query.

Inputs

subcases
Holds the subcase information which accepts “current”, “first”, “last”, “all” or the space separated string with hwIDs for a subcase ID (for example: "1 2 3 4").
simulations
Holds the simulations information which accepts “current”, “first”, “last”, “all” or the space separated string with hwIDs for a simulation ID (for example: "1 2 3 4").

Example

To add simulations for a given subcase into 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 "1 2" "2 3 4"
hwi CloseStack

Errors

This command returns HW_Error, if invalid values are passed to subcases and simulations.