Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

It is failing on this code xmin = boundingBox.minX.get which is part of the code to get a bounding box around the floor surfaces for each of the spaces in the model. Is it possible that one or more of the spaces in your model do not have any surfaces, or more specifically, does not have any floor surfaces. This measure was mainly made as a demonstration and doesn't have any logic in to trap this condition and skip those spaces. @Luis Lara's suggestion is a good one, as that method is more robust. We should have a measure on BCL that gives this functionality as part of a more complex measure with different elements that can be enabled or disabled.