I have a requirement to create MEP spaces from a DWG file and have a graph that works but it’s slow. I’m wondering if there is anyway to optimize the graph, or if Revit handling space separators and MEP spaces is inherently slow. Below are the associated files. This is an example floorplan but some are quite large and take 10-15 minutes to process. I have another script to grab the room name and number and assign it to the space, but I wasn’t able to figure out how to do it all in one graph. Any input on optimizing this is appreciated!
DWG to Spaces.dyn (40.7 KB)
DWG to Spaces.dwg (109.2 KB)