poIPost AddResult
Adds a result definition with the given label.
Syntax
post_handle AddResult label context notify
Application
HyperView Tcl Modify
Description
This command, valid only in Upfront Data Loading Mode, adds a result definition with the given label. It also returns the ID of the created result definition.
Inputs
- label
- The result definition label.
- context
- A string indicating the context of the result ID (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 add a new scalar result with label R1:
hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client AddResult R1 scalar true
hwi CloseStack
Errors
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.