mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Update src/ifcopenshell-python/ifcopenshell/validate.py
Co-authored-by: Thomas Krijnen <t.krijnen@gmail.com>
This commit is contained in:
committed by
Thomas Krijnen
parent
bbdc9c45dd
commit
d00c3735ec
@@ -601,9 +601,6 @@ def to_string_header_entity(header_entity):
|
||||
"""Recreate IFC header string representation, like FILE_NAME(...)"""
|
||||
|
||||
# Prefer native .toString() if available (native IfcOpenShell wrapper)
|
||||
if hasattr(header_entity, 'toString'):
|
||||
return header_entity.toString()
|
||||
|
||||
if hasattr(header_entity, 'toString'):
|
||||
return header_entity.toString()
|
||||
elif hasattr(header_entity, '_fields'):
|
||||
|
||||
Reference in New Issue
Block a user