poISubcase GetSimulationScaleFactor

Returns the scale factor for a particular simulation index.

Syntax

subcase_handle GetSimulationScaleFactorsimidx

Application

HyperView Tcl Query

Description

This command retrieves the scale factor associated with a simulation step.

Inputs

simidx
The simulation index.

Example

To get the scale factor associated with simulation index 2:
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]
model_handle GetResultCtrlHandle result_handle
result_handle GetSubcaseHandle subcase_handle 2

set sfactor [subcase_handle GetSimulationScaleFactor 2];
hwi CloseStack

Errors

Returns a non-zero value.