Automatically create Body feature when choosing "New PartDesign Project" from StartPage

This commit is contained in:
jrheinlaender 2013-03-29 20:09:56 +04:30 committed by Stefan Tröger
parent 5dbc66ae84
commit d16a886ad9

View File

@ -21,6 +21,8 @@
#* *
#***************************************************************************
import FreeCADGui
import FreeCADGui, PartDesignGui
FreeCADGui.activateWorkbench("PartDesignWorkbench")
App.newDocument()
App.ActiveDocument.addObject("PartDesign::Body")
PartDesignGui.setActivePart(App.ActiveDocument.ActiveObject)