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 c4eb454d3f
commit e028a0e782
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)