poIPost ImportResultDefinitions
Imports the result definitions from an XML file.
Syntax
post_handle ImportResultDefinitions filename
Application
HyperView Tcl Modify
Description
This command, valid only in HyperView - MultiCore profile, imports the result definitions from an XML file. Returns Success (0) or Warning (2) if the file does not exist.
Inputs
- filename
- The name of the XML from which the definitions will be imported.
Example
To import result definitions from result_defs.xml.
hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client ImportResultDefinitions result_defs.xml
hwi CloseStack
Errors
Returns a warning if the file does not exist and sets error condition on the session handle. See session_handle GetError.
Related Topics
See the HyperView - MultiCore APIs topic for additional information regarding the various Tcl/Tk commands that have been added for this workflow.