poIScalarDefine SetAvgAcrossPartsEnable

Sets the average across parts enable state.

Syntax

poIScalarDefine_handle SetAvgAcrossPartsEnable enable

Application

HyperView Tcl Modify

Description

This command, valid only in Upfront Data Loading Mode, sets the average across parts enable state.
Note: The result definition can only be modified if it not cached.

Inputs

enable
True to enable averaging across parts, false to disable.

Example

To enable average across parts for a result definition:

hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetResultHandle sdefine 4 scalar
sdefine SetAvgAcrossPartsEnable true
hwi CloseStack

Errors

None.

Related Topics

See the Upfront Data Loader APIs topic for additional information regarding the various Tcl/Tk commands that have been added for this workflow.