create utility script 'determine_mvd_exclusions.py' - #1144
Conversation
PR Validation -- schema generatorsChecks:
Detected:
📋 EXPRESS schema diff (baseline vs PR head)Express schema differences0 items Missing data🎉 No issues 🎉 Type definitions🎉 No issues 🎉 Entity definitions🎉 No issues 🎉 Constraints🎉 No issues 🎉 SHACL validation reportDefinitionForEnumLiteral
DefinitionForPropertyOrQuantity
DefinitionForResource
LeafEntityHasPredefinedType
PropertyForDefinition
SHACL report truncated -- full report in the workflow artifact bundle. See workflow run for failure details. |
|
|
||
| def get_all_entities(schemaversion) -> List[str]: | ||
| entities = list() | ||
| schema_definition = ifcopenshell.schema_by_name(schemaversion.value) |
There was a problem hiding this comment.
For schema_by_name() we need to use the full value "IFC4X3_ADD2" otherwise you get the old version. Only in case of IFC4X3, because there are the addenda made it into the schema identifier.
There was a problem hiding this comment.
I see. I have revised accordingly. Only change in output is that IfcMapConversionScaled should be in the list of exclusions for RV and AbV in gherkin rules IFC430 and IFC431. I will create a tracking ticket for this.
Co-authored-by: Thomas Krijnen <t.krijnen@gmail.com>
PR Validation -- schema generatorsChecks:
Detected:
📋 EXPRESS schema diff (baseline vs PR head)Express schema differences0 items Missing data🎉 No issues 🎉 Type definitions🎉 No issues 🎉 Entity definitions🎉 No issues 🎉 Constraints🎉 No issues 🎉 SHACL validation reportDefinitionForEnumLiteral
DefinitionForPropertyOrQuantity
DefinitionForResource
LeafEntityHasPredefinedType
PropertyForDefinition
SHACL report truncated -- full report in the workflow artifact bundle. See workflow run for failure details. |
PR Validation -- schema generatorsChecks:
Detected:
📋 EXPRESS schema diff (baseline vs PR head)Express schema differences0 items Missing data🎉 No issues 🎉 Type definitions🎉 No issues 🎉 Entity definitions🎉 No issues 🎉 Constraints🎉 No issues 🎉 SHACL validation reportDefinitionForEnumLiteral
DefinitionForPropertyOrQuantity
DefinitionForResource
LeafEntityHasPredefinedType
PropertyForDefinition
SHACL report truncated -- full report in the workflow artifact bundle. See workflow run for failure details. |
This can be used for generating a list of entities excluded from the 4.3 MVDs.