Skip to content

Revit 2027: extend the PredefinedType leave-out to the typed classes the exporter's source omits (beams, columns, plates, coverings, ramps, piles, fasteners, curtain walls), which no 2027 export holds #1716

Closed

Description

@DrunkOnJava

Follow-up of #1692 (RE-427, PR #1714): Revit's 2027 export writes no PredefinedType on the occurrence of ten classes, and the two held-out 2027 pairs hold nothing else that is typed. Autodesk's public exporter source (revit-ifc, Source/Revit.IFC.Export/Toolkit/IFCInstanceExporter.cs, tag IFC_v27.4.0.30; CLEANROOM.md source 5, cited and not quoted) says why: its SetPredefinedTypeEnumAttr writes an occurrence's PredefinedType only where the element has no type object when it is created. Its callers also include the creators of beams, columns, plates, coverings, ramps, ramp flights, piles, mechanical fasteners, family-based curtain walls and grids, and a typed element of those classes is left out by the same rule.

PREDEFINED_TYPE_LEFT_OUT_CLASSES in src/ifc/category_map.rs lists only the ten classes the 2027 pairs hold (measured). The 2027 samples hold beams (rst_basic 370), columns, plates, coverings and curtain walls that rvt-rs writes a value on and no Revit 2027 export covers.

Done when: the extension is made, labelled as from the exporter's source and not from a measured export (the doc of the constant, docs/status.md, the changelog), or a held-out 2027 pair that holds one of these classes is found and the extension is measured; holdout=true read first. Caveat as for #1472: the exporter's build (27.3.0.12 and later) decides, not the save's release.

Related: #1692, #1713.

Activity

  1. added
    area:ifc
    priority:P3
    type:feature
    on Nov 11, 2026
  2. DrunkOnJava commented on Nov 11, 2026

    @DrunkOnJava
    OwnerAuthor

    Done by #1764 (a0c1c61a), on the first branch of the done-when: the leave-out now covers a typed beam, column, plate and covering of a Revit 2027 save, labelled in the constant's doc, docs/status.md and the changelog as taken from the exporter's source (revit-ifc IFC_v27.4.0.30, SetPredefinedTypeEnumAttr and its callers; the second read fetched that tag and checked them) and not from a measured export. Read with holdout=true: no row of the two held-out 2027 pairs moves, and on the five 2027 sample saves only those four classes' PredefinedType changes, with no entity added or removed. Not changed, and why: ramps, ramp flights, piles, fasteners and grids carry no PredefinedType in rvt-rs's output, and the source's family-based curtain wall is not the system curtain wall rvt-rs writes. Still open elsewhere: the exporter's build decides this, not the save's release (#1472).

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