mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 02:07:36 +00:00
Update failure reason #3018
This commit is contained in:
@@ -912,7 +912,7 @@ class PartOfResult(Result):
|
|||||||
class PropertyResult(Result):
|
class PropertyResult(Result):
|
||||||
def to_string(self):
|
def to_string(self):
|
||||||
if self.reason["type"] == "NOPSET":
|
if self.reason["type"] == "NOPSET":
|
||||||
return "The entity has no property sets"
|
return "The required property set does not exist"
|
||||||
elif self.reason["type"] == "NOVALUE":
|
elif self.reason["type"] == "NOVALUE":
|
||||||
return "The property set does not contain the required property"
|
return "The property set does not contain the required property"
|
||||||
elif self.reason["type"] == "MEASURE":
|
elif self.reason["type"] == "MEASURE":
|
||||||
|
|||||||
Reference in New Issue
Block a user