OrsSimpleReportGenerator¶
Handles saving a screenshot
- author:
Dragonfly Team
- contact:
- email:
- organization:
Comet Technologies Canada Inc.
- address:
460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7
- copyright:
Comet Technologies Canada Inc. All rights reserved 2023.
- date:
Feb 24 2016 21:44
- dragonflyVersion:
3.1.0.286 (D)
- UUID:
d31b959c761a11e78ed3448a5b5d70c0
Class Code¶
- class OrsPythonPlugins.OrsSimpleReportGenerator.OrsSimpleReportGenerator.OrsSimpleReportGenerator(*args, **kwargs)¶
- 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
- 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.