Skip to content

Parking-space family instances exported as IfcSpace (91 on the BIM4LCA office) #1262

Closed

Description

@inevitable-co-ai

Summary

On the VTT BIM4LCA Nordic LCA office (ARK_NordicLCA_Office_Terrain_Concrete_BuildingPermit.rvt, Revit 2024, CC BY-SA 4.0, from https://www.nordicsustainableconstruction.com ARCH.zip), rvt 0.12.0 writes 98 IfcSpace, 91 of which are family instances named like Parking Space:PP:1371633 and Parking Space:AP:... (parking bays and accessible bays). Revit's own IFC export of the same model has 9 IfcSpace and no parking bays.

Expected: parking-space family instances exported as their own element type (Revit uses a building element proxy or similar for site families), not as IfcSpace, so consumers reading rooms from IfcSpace don't get site furniture as rooms.

Workaround on our side: ignore IfcSpace whose name matches Family:Type:ElementId.

Version: rvt 0.12.0, write_ifc(mode="geometry", allow_partial=True).

Activity

  1. DrunkOnJava commented on Nov 3, 2026

    @DrunkOnJava
    Owner

    Thank you for the report and the file details. Revit's own IFC4 export of that file (ARK_NordicLCA_Office_Terrain_Concrete_BuildingPermit_Revit.ifc, in the same ARCH.zip) does write parking spaces as IfcSpace with the predefined type PARKING, but only 2 of them, both of type Parking Space:AP, beside 7 rooms. The 89 of type PP are not in it under any class. So the class rvt-rs writes matches Revit's; the bug is that rvt-rs writes the bays Revit's export leaves out. We're adding that file and its export to our CI measurements to find what makes Revit's exporter skip them, and I'll follow up here with the result.

  2. DrunkOnJava commented on Nov 4, 2026

    @DrunkOnJava
    Owner

    Following up as promised: #1279 fixes this, and it is in 0.13.0, released today. The 89 Parking Space:PP bays are not in Revit's export because their family draws no 3D form for the type's parameters, and Revit's exporter leaves out an instance with no body. rvt-rs now does the same for a family instance it writes as IfcSpace, and keeps the instance wherever it cannot tell. On ARK_NordicLCA_Office_Terrain_Concrete_BuildingPermit.rvt it now writes Revit's 9 IfcSpace (the 7 rooms and the 2 Parking Space:AP bays) instead of 98, and none of the 89. Your Family:Type:ElementId filter is no longer needed for the bays Revit leaves out; it would still match the 2 AP bays, which Revit's export writes as spaces too. If you rerun your import and anything still looks off, please reopen.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions