MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / EntityResult

Class EntityResult

src/ifctester/ifctester/facet.py:1104–1109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1102
1103
1104class EntityResult(Result):
1105 def to_string(self):
1106 if self.reason["type"] == "NAME":
1107 return f"The entity class \"{self.reason['actual']}\" does not meet the required IFC class"
1108 elif self.reason["type"] == "PREDEFINEDTYPE":
1109 return f"The predefined type \"{str(self.reason['actual'])}\" does not meet the required type"
1110
1111
1112class AttributeResult(Result):

Callers 1

__call__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected