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

Revision history [back]

click to hide/show revision 1
initial version

convert a file object to an OSM model

Hello, I am using a python-based cloud platform that allows users to upload files. Thus, when I load a .OSM file from my computer, it ends up as a file object. I now need to convert this file object (which I can read so it is similar to a string) into an OSM model. What is the python openstudio API method to do this? Many thanks!

convert a file object to an OSM model

Hello, I am using a python-based cloud platform that allows users to upload files. Thus, when I load a .OSM file from my computer, it ends up as a file object. I now need to convert this file object (which I can read so it is similar to a string) into an OSM model. What is the python openstudio API method to do this? Many thanks!

convert a file object to an OSM model

Hello, I am using a python-based cloud platform that allows users to upload files. Thus, when I load a .OSM file from my computer, it ends up as a file object. I now need to convert this file object (which I can read so it is similar to a string) into an OSM model. What is the python openstudio API method to do this? Many thanks!