Autodesk / revit-ifc

IFC for Revit and Navisworks (2019+)
476 stars 194 forks source link

INQ: Work around discordance between Space Number and Space Name #776

Open MIVillegas opened 4 months ago

MIVillegas commented 4 months ago

Inquiry description

Hello. I am trying to give coherence to the export of rooms. We use room number AND name, but IFC has only room name and long name. I believe I can map those right, but as we have both given, we always become the PSet_SpaceCommon.Reference, which we would like either to remove from the export or to map it ONLY to the Revit room number. Is it possible at all?

Revit Version

2023.1.x

IFC for Revit Addon Version

Other / None

Windows Version

11 22H2

AngelVelezSosa commented 4 months ago

Currently, Revit room number maps to IFC room name, and Revit room name maps to IFC long name. This can be confusing, but it is really just because Revit and IFC use different naming for what is effectively the "short name" and the "description" of the room/space.

It is (currently) hard not to export something, although we are looking at UI options to allow this. In the meantime, you can add the PSet_SpaceCommon.Reference shared parameter to Revit have have a little script that sets it to be the room number.