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!

wassimj's avatar
101
wassimj
asked 2023-04-18 06:26:48 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2023-04-18 08:07:55 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments