poIAdvancedQuery GetSimulationList

Gets the list of simulations applicable for the advanced query.

Syntax

advancedQuery_handle GetSimulationList subcase_Id

Application

HyperView Tcl Query

Description

This command is used to get the list of simulations which are applicable for a given subcase ID in the advanced query.

Inputs

subcase_Id
The ID of the subcase for which the simulation list is required.

Example

To get the list of simulations for a specific subcase ID in 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"
set simList1 [query_handle GetSimulationList 1]
set simList2 [query_handle GetSimulationList 2]
hwi CloseStack

Errors

This command returns HW_InvalidHandle, if the core object associated with the advanced query handle does not exist anymore.