poIPost RemoveResult
Removes a result definition with the given ID.
Syntax
post_handle RemoveResult id context notify
Application
HyperView Tcl Modify
Description
This command, valid only in Upfront Data Loading Mode, removes a result definition with the given ID. Returns Success (0) or and error code.
Inputs
- id
- The result definition ID to remove.
- context
- A string indicating the context of the result to remove (scalar, tensor, vector, iso).
- notify
- Set to 'true' to trigger an event to update the browser, otherwise 'false'. The default value is true.
Example
To remove the tensor result with ID 3:
hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client RemoveResult 3 tensor true
hwi CloseStack
Errors
Returns error code and sets an 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.