convert a file object to an OSM model

asked 2023-04-18 06:26:48 -0600

wassimj's avatar

updated 2023-04-18 08:07:55 -0600

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!

edit retag flag offensive close merge delete