diff --git a/src/Mod/BIM/bimcommands/BimProfile.py b/src/Mod/BIM/bimcommands/BimProfile.py index b0ccb8e360..d6cbc3b8b6 100644 --- a/src/Mod/BIM/bimcommands/BimProfile.py +++ b/src/Mod/BIM/bimcommands/BimProfile.py @@ -116,7 +116,9 @@ class Arch_Profile: FreeCAD.ActiveDocument.openTransaction(translate("Arch","Create Profile")) FreeCADGui.addModule("Arch") FreeCADGui.doCommand('p = Arch.makeProfile('+str(self.Profile)+')') - FreeCADGui.doCommand('p.Placement.move('+pt+')') + FreeCADGui.addModule('WorkingPlane') + FreeCADGui.doCommand('p.Placement = WorkingPlane.get_working_plane().get_placement()') + FreeCADGui.doCommand('p.Placement.Base = ' + pt) FreeCADGui.addModule("Draft") FreeCADGui.doCommand("Draft.autogroup(p)") FreeCAD.ActiveDocument.commitTransaction()