Skip to content

An IfcSpace says what it is: a SpaceKind marker for rooms, Areas, MEP spaces and family instances #1437

Closed

Description

@DrunkOnJava

An importer cannot tell an Area from a room on an IfcSpace by asking what it is. The only marker in a default export is RvtElementRecordGeometry.SpaceOutlineSource, which says where an outline came from. Filtering on its values is fragile: the plan topology work in #1428 moves all 30 of the BIM4LCA office's Areas from area_boundary and area_boundary_joined to area_plan_topology, so a filter on the old values would catch none of them.

#1359 reports what this costs: an importer that places rooms by footprint went from 224 rooms placed to 36 on the office once Areas had bodies, because large regions such as "GFA" cover the real rooms. That figure is the reporter's; it has not been reproduced. The MCP server's list_rooms also lists Areas among rooms with only this marker to tell them apart.

Decision (Griffin, 2026-11-05): every IfcSpace gets RvtElementRecordGeometry.SpaceKind: room, area, mep_space or family_instance, from the record's class. The same value appears in list_rooms and the schedule CSV.

Done when:

  • Every IfcSpace of an export carries the value, measured on the office, Autodesk's samples and the held-out models (counts only).
  • area holds exactly where SpaceOutlineSource is an Area value, on every model read.
  • docs/rooms.md, the MCP contract and the changelog say which property to read for which question.
  • The reply on 0.14.0: no rooms in rac_basic and other projects that 0.13.0 reads #1359 is corrected.

This blocks 0.16.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:elementspriority:P1type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions