#6320 Rename generated/pdm_objects.py to generated/resinsight_classes.py

* This is to avoid confusion with pdmobject.py
This commit is contained in:
Gaute Lindkvist
2020-08-21 09:57:48 +02:00
committed by Kristian Bendiksen
parent 454e7f17a0
commit 30fa232c25
11 changed files with 72 additions and 68 deletions

View File

@@ -4,7 +4,7 @@ ResInsight 2d plot module
import Commands_pb2
from .pdmobject import PdmObjectBase, add_method
from pdm_objects import PlotWindow, Plot
from resinsight_classes import PlotWindow, Plot
@add_method(PlotWindow)
@@ -19,7 +19,7 @@ def export_snapshot(self, export_folder='', file_prefix='', output_format='PNG')
"""
return self._execute_command(
exportSnapshots=Commands_pb2.ExportSnapshotsRequest(type='PLOTS',
prefix=file_prefix,
viewId=self.id,
exportFolder=export_folder,
plotOutputFormat=output_format))
prefix=file_prefix,
viewId=self.id,
exportFolder=export_folder,
plotOutputFormat=output_format))