I am trying to create filled regions based on room boundaries. I have had a moderate amount of success with the attached script. It seems to run OK when used on an Imperial Units Revit file, but when run on a Metric file, the regions are scaled up. I have tried scaling the boundary vectors down but there seems to be some internal rounding that makes the scaling non-uniform in the X and Y directions. Any suggestions?