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

Revision history [back]

You'll have to check if the optional model is initialized and then cast to a Model object with .get, as shown in this answer.