mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Update ids validation
see https://github.com/IfcOpenShell/IfcOpenShell/issues/2933
This commit is contained in:
@@ -247,9 +247,7 @@ class Specification:
|
||||
if self.failed_entities:
|
||||
self.status = False
|
||||
elif self.maxOccurs == 0:
|
||||
if (len(self.applicable_entities)) > 0 and len(self.requirements) == 0:
|
||||
self.status = False
|
||||
if (len(self.applicable_entities)) > 0 and (len(self.applicable_entities) - len(self.failed_entities)) > 0:
|
||||
if (len(self.applicable_entities)) == 0:
|
||||
self.status = False
|
||||
|
||||
def get_usage(self):
|
||||
|
||||
Reference in New Issue
Block a user