Arch : Arch Section take current WorkingPlane Placement

This commit is contained in:
wood-galaxy 2015-05-24 20:41:03 +02:00 committed by Yorik van Havre
parent c5903523ea
commit 7843225fad

View File

@ -91,6 +91,7 @@ class _CommandSectionPlane:
FreeCAD.ActiveDocument.openTransaction(translate("Arch","Create Section Plane"))
FreeCADGui.addModule("Arch")
FreeCADGui.doCommand("section = Arch.makeSectionPlane("+ss+")")
FreeCADGui.doCommand("section.Placement = FreeCAD.DraftWorkingPlane.getPlacement()")
#FreeCADGui.doCommand("Arch.makeSectionView(section)")
FreeCAD.ActiveDocument.commitTransaction()
FreeCAD.ActiveDocument.recompute()