poIResultCtrl UnloadResult

Clears and unloads data for the specified result definition.


poIResultCtrl_handle UnloadResult id context notify


HyperView Tcl Modify


This command, valid only in Upfront Data Loading Mode, clears and unloads data for the specified result definition. Returns Success (0) if unloading was successful or Warning (2) if there was a problem unloading the result data.


The ID of the result definition to unload.
A string indicating the context of the request. Valid values are: scalar, tensor, vector, and iso.
Set to 'true' to trigger an event to update the browser, otherwise 'false'. The default value is true.


To unload the scalar result with ID 4:

hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetModelHandle model [client GetActiveModel]
model GetResultCtrlHandle rc
rc UnloadResult 4 scalar true
hwi CloseStack


Returns error code if there was an error in unloading and sets error condition on the session handle. See session_handle GetError.

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.