Skip to content

feat(ifc): a ramp or a geographic element with no predefined type of its own or its type's is NOTDEFINED on Revit 2024, as Revit's export writes it (#1713) - #2008

Merged
DrunkOnJava merged 1 commit into
mainfrom
feat/1713-ramp-geographic-notdefined
Nov 14, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
feat/1713-ramp-geographic-notdefined

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

A ramp or a geographic element with no "IFC Predefined Type" of its own or its type's is written with the PredefinedType NOTDEFINED on Revit 2024, as Revit's export writes it. After #2002 the residual census of #1713 (Measure 43583771747, 42 models with a Revit export) had 6 IfcRamp and 6 IfcGeographicElement unset where Revit writes NOTDEFINED, with "differs" and "NOTDEFINED where Revit writes none" at 0. The two entries join furniture, roofs, stairs, stair flights, proxies and railings in NOTDEFINED_DEFAULTS, on 2024 only: no other measured file and no held-out pair holds a ramp or a geographic element in both exports (RE-353). Part of #1713. Measure 43588992984 (621e4707 against main, unfiltered) moves 7 exports:

  • IfcRamp: the one ramp of each of the six BIM4LCA housing files reads NOTDEFINED, unset 1 to 0 and same 0 to 1 on every file (38 in both on the 42 models, same 32 to 38).
  • IfcGeographicElement: 3 of the 23 on each of the two housing terrain files read NOTDEFINED, unset 3 to 0 and same 20 to 23 of 23 (Revit writes NOTDEFINED on 3 and USERDEFINED on 20).
  • The seventh export is Autodesk's Snowdon Towers architectural sample (no Revit export on Measure), whose 2 ramps now carry NOTDEFINED, as Revit's local IFC4 export of the sample writes on both.
  • diagnostics.json: 102 of 102 identical. The held-out pairs and every other export are identical.

Motivation

#1713's table: IfcRamp was 6 unset after #1787 ("a ramp Revit writes NOTDEFINED on"), and the geographic elements of the terrain files were not in it.

Changes

  • src/research/partition_schema_mvp/fields.rs: ("IFCRAMP", &[2024]) and ("IFCGEOGRAPHICELEMENT", &[2024]) in NOTDEFINED_DEFAULTS, with their evidence in the table's doc comment.
  • A changelog fragment.

Testing

Measure 43588992984: 621e4707 against main at 32ed4e6a, unfiltered with nordic, r2025, samples, holdout and racadv.

  1. Holds. On every model that had one, "unset in rvt-rs" goes to 0 and "same" rises by the same: 6 of 6 ramps and 6 of 6 geographic elements. "Differs" and "NOTDEFINED where Revit writes none" stay 0 in every class of every model.
  2. Holds. 119 of 126 exports and 102 of 102 diagnostics.json files are identical to main's; the 28 scorer lines that move are the ramp and geographic-element rows of the six housing files.
  3. Not shown. No file of another release holds either class in both exports, so neither default is measured outside Revit 2024 (RE-353).
  • tools/check-local.sh: no local builds; rustfmt --check passes; CI runs the rest.

Audit-honesty checklist

  • The Summary states each change the run showed, with its count.
  • A changelog fragment.
  • No private paths or emojis.

Legal and contribution hygiene

  • Apache-2.0; no Autodesk source (the rule is Revit's measured export; revit-ifc's IFCExportInfoPair is cited, not quoted); no fixtures.

Breaking changes

None.

Related issues

Part of #1713.

…its own or its type's is NOTDEFINED on Revit 2024, as Revit's export writes it (#1713)
@DrunkOnJava
DrunkOnJava merged commit 16e7b08 into main Nov 14, 2026
65 checks passed
@DrunkOnJava
DrunkOnJava deleted the feat/1713-ramp-geographic-notdefined branch November 14, 2026 11:56
DrunkOnJava added a commit that referenced this pull request Nov 14, 2026
…ped as a gutter, and the NOTDEFINED_DEFAULTS ramp line names Snowdon's two ramps (#1989) (#1713) (#2016)

## Summary

Two comments, no code. `category_map.rs`: the gutter mapping says why
`type_entity_for` may type every `IFCFLOWSEGMENT` as a gutter
(`IfcPipeSegmentType` `GUTTER`): the gutter mapping is the one way
rvt-rs reaches an `IfcFlowSegment` (no `EXPORT_OVERRIDE_TARGETS` value
names it), so a class written as one by another path needs its type
keyed on its own class first (#1989, owed since #2006). `fields.rs`: the
`NOTDEFINED_DEFAULTS` ramp line names Autodesk's Snowdon Towers 2024
sample, whose 2 ramps take the default and agree with Revit's own export
of that sample (the sample is on Measure; Revit's export of it is local
only, so no Measure scorer reads it; owed since #2008).

## Motivation

Both were raised in the review of their pull requests (#2006, #2008) and
left for the next change to those lines. They record a limit of a rule
and a measurement that no Measure run shows.

## Changes

- `src/ifc/category_map.rs`: four comment lines above the `Gutter`
mapping.
- `src/research/partition_schema_mvp/fields.rs`: four comment lines in
`NOTDEFINED_DEFAULTS`'s documentation.

## Testing

Output-neutral: the diff changes comments only, so no export, scorer or
behaviour moves and no Measure run applies. `rustfmt --check` passes on
both files; CI builds and checks the rest.

- [ ] `tools/check-local.sh`: no local builds; `rustfmt --check` passes;
CI runs the rest.

## Audit-honesty checklist

- [x] The Summary states each change the diff shows.
- [x] No private paths or emojis.
- [x] No capability claim changes, so no status document moves.

## Legal and contribution hygiene

- [x] Apache-2.0; no Autodesk source; no fixtures.

## Breaking changes

None.

## Related issues

Part of #1989 and #1713 (both closed or shipped; this only records their
limits).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant