Create spaces dynamo script not creating all spaces in host model

Hi guys,

I am creating a script to get rooms from a linked model and create spaces and then name them. I can get it to work however it appears to miss a few of the spaces. I think it is because they aer overlapping? can anyone help with what might be the issue? I am using DynamoMEP for space creation.

I have posted the error as well in case it helps with trouble shooting

Hello and welcome to the community :wink: does your link and active model share coordinate system (origin) guess is worth to check

Have you performed the normal checks for Room Bounding elements and Separation Lines?

Out of all of the rooms in the project, how many spaces result in this warning? A low amount? A high amount? Do they share any common traits like locations, shared walls, etc.?

If it happens to be ‘all of them’, then you don’t have Room Bounding enabled in the Link.

  1. It might be that in arch model, from which you’re getting the rooms, there are additional links which set to be room bounding. And in host model you may not have these links, or they are but you need to turn on Room Bounding in their Type Parameters.
  2. By default spaces are created which 2m height and default top and bottom offsets. You may need to create additional script to transmit these values from linked rooms to created spaces.
  3. Linked and host models may have unequal number of levels. If in architectural model there are additional levels which are missing in your host model, it may cause such an error
  4. Computation height of levels in arch model is set differently in architectural model. You may need to compare level properties in arch vs your host model.