From c51ca11e58d9a686901fbc670bda3d6be3dcaca1 Mon Sep 17 00:00:00 2001 From: Vanuan Date: Mon, 17 Aug 2020 05:48:58 +0300 Subject: [PATCH] [Arch/TechDraw] Clean up _ArchDrawingView: remove getDXF Properties and method were removed in 82c37bf754969be28eff6b5e71e4d1622294683c --- src/Mod/Arch/ArchSectionPlane.py | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/Mod/Arch/ArchSectionPlane.py b/src/Mod/Arch/ArchSectionPlane.py index fe23fdef38..47d0e3efee 100644 --- a/src/Mod/Arch/ArchSectionPlane.py +++ b/src/Mod/Arch/ArchSectionPlane.py @@ -1280,27 +1280,6 @@ class _ArchDrawingView: return mode - def getDXF(self,obj): - - "returns a DXF representation of the view" - if obj.RenderingMode == "Solid": - print("Unable to get DXF from Solid mode: ",obj.Label) - return "" - result = [] - import Drawing - if not hasattr(self,"baseshape"): - self.onChanged(obj,"Source") - if hasattr(self,"baseshape"): - if self.baseshape: - result.append(Drawing.projectToDXF(self.baseshape,self.direction)) - if hasattr(self,"sectionshape"): - if self.sectionshape: - result.append(Drawing.projectToDXF(self.sectionshape,self.direction)) - if hasattr(self,"hiddenshape"): - if self.hiddenshape: - result.append(Drawing.projectToDXF(self.hiddenshape,self.direction)) - return result - class SectionPlaneTaskPanel: