[Arch/TechDraw] Clean up _ArchDrawingView: remove getDXF
Properties and method were removed in 82c37bf754969be28eff6b5e71e4d1622294683c
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user