Arch: using basic object names for all arch objects

This commit is contained in:
Yorik van Havre
2018-07-07 14:40:10 -03:00
parent d7d4489da1
commit 5f63a7764b
12 changed files with 12 additions and 12 deletions

View File

@@ -73,7 +73,7 @@ def makeWindow(baseobj=None,width=None,height=None,parts=None,name="Window"):
obj = Draft.clone(baseobj)
return obj
p = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Arch")
obj = FreeCAD.ActiveDocument.addObject("Part::FeaturePython",name)
obj = FreeCAD.ActiveDocument.addObject("Part::FeaturePython","Window")
obj.Label = translate("Arch",name)
_Window(obj)
if FreeCAD.GuiUp: