218
edits
As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com. |
Changes
→Advanced
app = cwc.makeApplication()
Parameter.usePyQtGraph = True
api = CWCoreAPI() # Instantiate the API gui = cwc.CWCaptureGUI(api) # Instantiate the Capture GUI
gui.show()
api.runScriptClass(Capture)
gui.close()
gui.reset() # Delete saved geometry settings in the Capture tool so it will not be used by the Analyzer
gui = cwa.CWAnalyzerGUI(api) # Instantiate the Analyzer GUI
gui.show()
api.runScriptClass(Attack) # Run the script (default is the "run" method)
app.exec_()
</pre>