OrsSimpleReportGenerator

Handles saving a screenshot

author:ORS Team
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:760 St-Paul West, suite 101, Montréal, Québec, Canada, H3C 1M4
copyright:Object Research Systems (ORS), Inc. All rights reserved 2020.
date:Feb 24 2016 21:44
dragonflyVersion:
 3.1.0.286 (D)
UUID:d31b959c761a11e78ed3448a5b5d70c0

Class Code

class OrsPythonPlugins.OrsSimpleReportGenerator.OrsSimpleReportGenerator.OrsSimpleReportGenerator(varname=None, managed=True)
classmethod captureSnapshot(viewName, filename, xSize, ySize)

Captures a snapshot of a view

Deprecated since version 3.5: This method was put in the ReportHelper.

Parameters:
  • viewName (str) – a genealogical name of a view
  • filename (file saving) – the file name of the snapshot
  • xSize (int) – snapshot X size
  • ySize (int) – snapshot Y size
closable = True
getCameraActionString()
keepAlive = False
multiple = False
orsCurrentViewChange()
orsSelectedObjectsChange()
postLoadSession()

Placeholder for code that needs to get executed when a session is loaded. Note that this method is called at the very end of the process, when the model has been restored, plugins have been instantiated and the workspace has been restored.

savable = True
triggerDragDrop()