Repository navigation
research: probe_1841_framing_usage counts each framing instance's structural usage against the class Revit's export gives it (#1841) - #1853
Merged
Conversation
…uctural usage against the class Revit's export gives it (#1841) Autodesk's exporter classes a framing instance by a sub-category of its structural usage (revit-ifc, ExporterUtil.GetSpecificCategoryForElement), which is how a brace becomes IfcMember. The usage is InsertableInst.m_structUsage in the schema. No model Measure scores against a Revit export has a framing member Revit writes as IfcMember, so the probe is for HWT-25 to run on CHL with its Revit export: it prints, per m_structUsage value, how many framing instances rvt-rs writes as which class and Revit's export as which, counts only, with no name or ElementId.
…writes no framing, as an empty selection selects every record (#1841)
Owner
Author
|
Run 43325347288:
Fixed since: on Snowdon Towers' three MEP models the export writes no framing. The probe still read 12,679 to 25,738 records, because an empty selection selects every record. |
6 tasks done
DrunkOnJava
marked this pull request as ready for review
November 12, 2026 23:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
probe_1841_framing_usagecounts each framing instance's structural usage (InsertableInst.m_structUsage) against the class rvt-rs writes for it and, given Revit's IFC export of the same file, the class Revit writes. It prints counts only: no name, no ElementId. It is for HWT-25 to run on CHL (#1829), where Revit writes one framing member asIfcMemberand rvt-rs asIfcBeam. Part of #1841.Motivation
#1841's member half. Autodesk's exporter classes a framing instance by a sub-category of its structural usage (revit-ifc,
ExporterUtil.GetSpecificCategoryForElement): a brace by the bracing category, which Revit's class table maps toIfcMember. What each stored value means has to come from the files, not the API's enumeration. No model Measure scores against a Revit export has a framing member that Revit's export moves toIfcMember(#1841 comments), so the evidence has to come from CHL.Changes
probes/examples/probe_1841_framing_usage.rs:rvt-ifcdoes;m_structUsagefrom the native record of each element written asIFCBEAMorIFCMEMBER;Taginside the probe;Testing
A probe Measure run on Autodesk's structural samples (
rst_basicof 2023 to 2027 and Snowdon Towers Structural, no Revit export): every sample prints itsframingline, andwithout_usageis reported. Ifm_structUsageis absent from the framing records, the field is wrong, and that is said here before the probe goes to the reporter.On CHL, through ci: a workflow builds one probe for Windows, macOS and Linux as run artifacts, for a reporter whose file cannot leave a machine with no Rust toolchain (#1838) #1851's workflow, by HWT-25.
N/A: no
src/change.Audit-honesty checklist
probes/examples/states its FACTLegal and contribution hygiene
Breaking changes
None.