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: 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
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.
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).
Activity
feat(ifc): leave PredefinedType off beams, columns, plates and coveri…
DrunkOnJava commentedon Nov 11, 2026
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.mdand the changelog as taken from the exporter's source (revit-ifcIFC_v27.4.0.30,SetPredefinedTypeEnumAttrand its callers; the second read fetched that tag and checked them) and not from a measured export. Read withholdout=true: no row of the two held-out 2027 pairs moves, and on the five 2027 sample saves only those four classes'PredefinedTypechanges, with no entity added or removed. Not changed, and why: ramps, ramp flights, piles, fasteners and grids carry noPredefinedTypein 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).