Arch: Further work on panel

This commit is contained in:
Yorik van Havre
2014-04-20 14:16:13 -03:00
parent a452e6cf61
commit 14ee127dc7
2 changed files with 137 additions and 21 deletions

View File

@@ -1984,6 +1984,9 @@ def makeDrawingView(obj,page,lwmod=None,tmod=None):
ArchSectionPlane._ArchDrawingView(viewobj)
viewobj.Source = obj
viewobj.Label = "View of "+obj.Name
elif getType(obj) == "Panel":
import ArchPanel
viewobj = ArchPanel.makePanelView(obj,page)
else:
viewobj = FreeCAD.ActiveDocument.addObject("Drawing::FeatureViewPython","View"+obj.Name)
_DrawingView(viewobj)