tt-acm / EnergyAnalysisForDynamo

Dynamo <> Autodesk Green Building Studio interoperability
Other
29 stars 18 forks source link

RunAnalysis.ExportMassToGBXML - Defense for mass instances with no Mass Floors #98

Closed bhowes-tt closed 9 years ago

bhowes-tt commented 9 years ago

If a user passes a mass with no mass floors (and thus no zones) this node fails in a less than elegant manner.

Add some defense for this case and throw a meaningful warning out to the user.