buildingSMART / IFC

IFC schema management and versioning repository
https://technical.buildingsmart.org/
Other
70 stars 20 forks source link

IFC-SPF property and quantity templates file incorrect #25

Open arch1501 opened 4 years ago

arch1501 commented 4 years ago

In the IFC file for property and quantity templates are some errors. In all versions of the specification base entity for the templates is IfcProject instead of IfcProjectLibrary. For each instances of IfcSimplePropertyTemplate for enumerations a new instance of IfcPropertyEnumeration is created. If it is related to the same enumeration only one instance shpould be used and referenced. There are many IfcSimplePropertyTemplates with same GUID. WhereRule 'IFCEXTERNALREFERENCE.WR1' is violated for some instances (IfcLibraryReference). At least one of the first three attributes has to be defined. In these instances all three are set optional.

SergejMuhic commented 4 years ago

CHecked and identified the problems. The IfcLibraryReference cannot be fixed easily as this data is just not present in the spec. The schema version I have corrected and will commit after some tests.