[Arch/TechDraw] Clean up _ArchDrawingView: remove getDXF

Properties and method were removed in 82c37bf754969be28eff6b5e71e4d1622294683c
This commit is contained in:
Vanuan
2020-08-17 05:48:58 +03:00
committed by Yorik van Havre
parent 7afa5dc00d
commit c51ca11e58

View File

@@ -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: