Skip to content

Phase rules on Revit 2015 #1332

Closed
Closed

Description

@DrunkOnJava

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

  1. added
    area:partitions
    priority:P3
    type:research
    on Nov 4, 2026
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:partitionspriority:P3type:research

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions