You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Revit 2027: rvt-rs writes a PredefinedType on stairs, stair flights, slabs and members where Revit's 2027 export writes none (7 elements on the two held-out pairs) #1692
Found while measuring RE-419 (#1681, #1686): the two held-out pairs saved by Revit 2027 (a house and an office, counts only) show Revit's own 2027 export writing no PredefinedType on any class tools/re/predefined_types_vs_ifc.py reads, where the same projects saved by 2024, 2025 and 2026 write STRAIGHT_RUN_STAIR, STRAIGHT, FLOOR, STRINGER and NOTDEFINED as rvt-rs does.
Measure 42951039566, head and base alike (nothing in #1686 changes it): on the two 2027 pairs rvt-rs writes a value where Revit writes none on 1 IfcStair, 1 IfcStairFlight, 3 IfcSlab and 2 IfcMember (7 elements, differs in the scorer); on their 8 + 4 IfcFurniture neither writes one. On the 2022, 2024, 2025 and 2026 pairs the same classes read equal.
By the standing rule (a value one of Revit's own IFC4 exports omits is left out, and release by release, as #1601 did for ObjectType from 2026) a Revit 2027 save should be written without a PredefinedType. What is not measured is how far that goes: the scorer reads 8 classes, and rvt-rs writes a PredefinedType on others too (IfcWall, IfcDoor, IfcCovering and more, see the arity line of schema.txt), whose 2027 values Revit's export is not scored against.
Done when: the scorer tallies every class that has a PredefinedType (both files, by Tag); the writer leaves it out from Revit 2027 where Revit's 2027 export writes none on every class both files hold (read before it lands, with holdout=true); the 2027 pairs read differs 0 on those; and the 2022 to 2026 exports are byte-identical. Or the report names the classes where 2027 does write one and why.
Related: #1472 and #1601 (the same rule for ObjectType), #1681 and #1686 (furniture, RE-419), #1636.
Activity
fix(ifc): a furniture element's PredefinedType is its own IFC Predefi…
ci: the PredefinedType scorer tallies every product that is no elemen…
fix(ifc)!: a Revit 2027 save is written without a PredefinedType on i…
fix(ifc): what the export writes on an occurrence from Revit 2027 is …
docs(re): RE-427 reads Revit 2027's PredefinedType on every class, ty…
docs(re): RE-427 gives why Revit 2027 omits the occurrence's Predefin…
feat(ifc): leave PredefinedType off beams, columns, plates and coveri…
feat(ifc): a railing's PredefinedType is its own or its type's value (#…
feat(ifc): a wall's, ramp's, light fixture's and pipe segment's Prede…
fix(ifc)!: a Revit 2027 save is written without a PredefinedType on t…
feat(ifc): a door takes its own or its type's predefined type where i…