Update ActivePartObject etc. on switching documents, creating new documents, and loading documents in the PartDesign workbench
This commit is contained in:
committed by
Stefan Tröger
parent
0e6cdbe397
commit
e5e05cd489
@@ -24,7 +24,6 @@
|
||||
import FreeCADGui
|
||||
FreeCADGui.activateWorkbench("PartDesignWorkbench")
|
||||
App.newDocument()
|
||||
FreeCADGui.runCommand('PartDesign_Body')
|
||||
# Make the planes properly visible
|
||||
FreeCADGui.activeDocument().activeView().viewAxometric()
|
||||
FreeCADGui.SendMsgToActiveView("ViewFit")
|
||||
|
||||
Reference in New Issue
Block a user