mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 21:38:51 +00:00
Classifications UI - display placeholder name for unnamed classifications
This commit is contained in:
@@ -56,6 +56,7 @@ class ClassificationsData:
|
|||||||
data = element.get_info()
|
data = element.get_info()
|
||||||
if tool.Ifc.get().schema == "IFC2X3" and element.EditionDate:
|
if tool.Ifc.get().schema == "IFC2X3" and element.EditionDate:
|
||||||
data["EditionDate"] = ifcopenshell.util.date.ifc2datetime(data["EditionDate"])
|
data["EditionDate"] = ifcopenshell.util.date.ifc2datetime(data["EditionDate"])
|
||||||
|
data["Name"] = data["Name"] or "Unnamed"
|
||||||
results.append(data)
|
results.append(data)
|
||||||
return results
|
return results
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user