Arch: Read Description property of IFC objects
This commit is contained in:
parent
60d918983e
commit
d05ac66c3c
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user