Replace Not Placed Spaces at related Rooms position

Hi All,
I’m trying to develop a script that allows to replace spaces in the model that are accidentally remove from view plan/model but are still in the model, in the same location. I made models that helps you understand better my issue. The ARK model is linked in MEP model, where I deleted some spaces to relocate.

Thank you in advance

ARK.rvt (3.0 MB)
MEC.rvt (3.0 MB)
ReplaceNotPlacedSpaces.dyn (21.0 KB)

I’m able to relocate Spaces that missed their location and are placed away from the associated rooms, getting the position from the associated linked room and it works fine. The problem is it does not work for the Not Placed space. Please, someone has any suggestion for my issue?


ReplaceNotPlacedSpaces_V01.dyn (38.6 KB)

From what I’ve found so far on RevitAPIDocs, you can do this with unplaced rooms via the PlanCircuit, but there’s no equivalent for spaces.

1 Like