Arch: Fixed export of cloned windows to IFC

This commit is contained in:
Yorik van Havre
2016-06-16 17:42:27 -03:00
parent cd4bdceba9
commit 2ca69cf3bc
3 changed files with 24 additions and 19 deletions

View File

@@ -2478,6 +2478,10 @@ def clone(obj,delta=None):
cl.Label = prefix + base.Label
cl.CloneOf = base
cl.Placement = obj[0].Placement
try:
cl.Role = base.Role
except:
pass
return cl
else:
cl = FreeCAD.ActiveDocument.addObject("Part::AttachableObjectPython","Clone")