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

Revision history [back]

How to know if OpenStudio Plugin opens or saves a file

I have a plugin that uses OpenStudio model and then I have my own system for thermal bridges. Now I have to save my external info in a separate file. It would be really cool if there be an event system in the OpenStudio plugin so I can know if the model is loaded or saved so I can load/save my own. I think I can do this by monkey-patching the main save and load functions but I want to know if there is any better way far that

How to know if OpenStudio Plugin opens or saves a file

I have a plugin that uses OpenStudio model and then I have my own system for thermal bridges. Now I have to save my external info in a separate file. It would be really cool if there be an event system in the OpenStudio plugin so I can know if the model is loaded or saved so I can load/save my own. I think I can do this by monkey-patching the main save and load functions but I want to know if there is any better way far that

How to know if OpenStudio Plugin opens or saves a file

I have a plugin that uses OpenStudio model and then I have my own system for thermal bridges. Now I have to save my external info in a separate file. It would be really cool if there be an event system in the OpenStudio plugin so I can know if the model is loaded or saved so I can load/save my own. I think I can do this by monkey-patching the main save and load functions but I want to know if there is any better way far that

How to know if OpenStudio Plugin opens or saves a file

I have a plugin that uses OpenStudio model and then I have my own system for thermal bridges. Now I have to save my external info in a separate file. It would be really cool if there be an event system in the OpenStudio plugin so I can know if the model is loaded or saved so I can load/save my own. I think I can do this by monkey-patching the main save and load functions but I want to know if there is any better way far that