Add command PartDesign_Body and integrate it into the Workbench

This commit is contained in:
jrheinlaender
2013-03-30 15:57:50 +04:30
committed by Stefan Tröger
parent ae9aae703c
commit 1b809f305e
3 changed files with 87 additions and 41 deletions

View File

@@ -26,3 +26,5 @@ FreeCADGui.activateWorkbench("PartDesignWorkbench")
App.newDocument()
App.ActiveDocument.addObject("PartDesign::Body")
PartDesignGui.setActivePart(App.ActiveDocument.ActiveObject)
# Make the "Create sketch" prompt appear in the task panel
Gui.Selection.addSelection(App.ActiveDocument.ActiveObject)