Open Andrej730 opened 1 year ago
These rules are automatically generated, but somehow it seems that the CorrectTypeAssigned rule is only generated for entities having a predefined types (https://github.com/buildingSMART/IFC4.3.x-development/blob/master/code/xmi_document.py#L877) not sure what the reasoning was behind that, maybe none?
@aothms at a guess maybe it was coded alongside the "CorrectPredefinedType" rule so just an oversight? I don't see any reason for the two to be correlated.
I agree, marking this as decided.
Does it make sense to fix since IfcCivilElement
and IfcCivilElementType
are deprecated?
Does it make sense to fix since IfcCivilElement and IfcCivilElementType are deprecated?
Could it be that if it's a problem with WHERE
block in general then it also affects some other entities?
Same thing for 'IfcDistributionElementType', 'IfcFurnishingElementType' and 'IfcBuiltElementType'
Noticed that in latest .exp schemas (as it was in ifc4 too) IfcCivilElement doesnt have WHERE block with CorrectTypeAssigned = IfcCivilElementType. Seems like a bug.
Current code for IfcCivilElement:
Example for IfcWindow with CorrectTypeAssigned: