Automatically create Body feature when choosing "New PartDesign Project" from StartPage
This commit is contained in:
parent
5dbc66ae84
commit
d16a886ad9
|
@ -21,6 +21,8 @@
|
||||||
#* *
|
#* *
|
||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
|
|
||||||
import FreeCADGui
|
import FreeCADGui, PartDesignGui
|
||||||
FreeCADGui.activateWorkbench("PartDesignWorkbench")
|
FreeCADGui.activateWorkbench("PartDesignWorkbench")
|
||||||
App.newDocument()
|
App.newDocument()
|
||||||
|
App.ActiveDocument.addObject("PartDesign::Body")
|
||||||
|
PartDesignGui.setActivePart(App.ActiveDocument.ActiveObject)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user