Assembly : Initial implementation of 'create joint' command.
This commit is contained in:
@@ -59,6 +59,7 @@ class CommandCreateAssembly:
|
||||
assembly = App.ActiveDocument.addObject("App::Part", "Assembly")
|
||||
assembly.Type = "Assembly"
|
||||
Gui.ActiveDocument.ActiveView.setActiveObject("part", assembly)
|
||||
assembly.newObject("App::DocumentObjectGroup", "Joints")
|
||||
App.closeActiveTransaction()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user