Repository navigation
Description
Summary
The phase rules of the export (RE-184: an element that does not exist in the export phase is left out; RE-326: a room whose own phase is not the export phase is left out) apply to Revit 2016 to 2027. Revit 2015 files and earlier write every element and every room whatever its phase.
Why
The release gate is EXPORT_FILTER_RELEASES (2016 to 2023 on the 32-bit layout) in src/research/partition_element_records_2023.rs, set by RE-315: the element filter's only evidence on a 32-bit file is a Revit 2018 project, and 2008 to 2015 have none. The native record path reads a Revit 2015 file's phase order, its elements' phases and its rooms' m_phaseId (RE-281, RE-326), so the data is there; what is missing is a Revit export of a 2015 file that shows the rules hold. The room rule follows the element rule's gate, so one gate covers both.
The visible case is Autodesk's rac_basic_sample_project: its Revit 2015 save keeps its 14 rooms (Working Drawings, the second of three phases) while every save from 2016 on leaves them out by default and writes them with rvt-ifc --phase "Working Drawings" (RE-326).
Done when
Both rules extend to Revit 2015 together, once a Revit export of a 2015 project with phases, or a measured read of a 2015 phase order against such an export, supports it. RevitFile::set_export_phase then accepts --phase on 2015 files too.
Refs #1194.
Activity
docs(rooms): Revit 2015 keeps its rooms because both phase rules star…
feat(ifc): a room whose own phase is not the export phase is left out…
fix(ifc): a project whose last phase holds no room writes the rooms o…
feat(ifc): the export phase is applied on Revit 2015, where a Revit e…
research(reader): RE-372 records the phase rule on Revit 2015, measur…
research(reader): RE-372 records what Measure found for the export ph…
docs(reader): the diagnostics page says the phase filter holds on Rev…
docs(reader): RE-372 says its one Revit 2015 export is IFC2X3, rewrit…
feat(ifc): the export phase is applied on Revit 2015, where a Revit e…
chore(release): prepare v0.16.0 (#1564)