Assembly : Initial implementation of 'create joint' command.

This commit is contained in:
Paddle
2023-09-14 16:18:28 +02:00
parent 3fcc839868
commit d81c4bac63
9 changed files with 1165 additions and 6 deletions

View File

@@ -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()