Arch: Read Description property of IFC objects

This commit is contained in:
Yorik van Havre 2016-06-14 19:18:37 -03:00
parent 60d918983e
commit d05ac66c3c

View File

@ -580,6 +580,9 @@ def insert(filename,docname,skip=[],only=[],root=None):
if store:
sharedobjects[store] = obj
obj.Label = name
if hasattr(obj,"Description") and hasattr(product,"Description"):
if product.Description:
obj.Description = product.Description
if FreeCAD.GuiUp and baseobj:
if hasattr(baseobj,"ViewObject"):
baseobj.ViewObject.hide()