Skip to content

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

Closed

Description

@DrunkOnJava

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

  1. added
    area:ifc
    priority:P3
    type:feature
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:ifcpriority:P3type:feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions