Create Openstudio model Object from an .osm File
I know that this question is so incredibly simple but I have been scouring this forum and looking through OpenStudio measures for the last hour without any luck.
I have a .osm file that I have created and saved and I want to turn this .osm file into an OpenStudio Model Object so that I can edit it with OpenStudio SDK. I see that I can initialize a model object from an IDF file but there doesn't seem to be a class method for initializing such a model object from an .osm.
I am sure that there must be a way but it's hiding in plain sight from me. I am using OpenStudio C# bindings but any example code that uses the OpenStudio SDK would be a great answer.
Thank you,
Hey @chriswmackey, welcome to UH! You should really post your updates as an answer (perfectly fine to answer your own questions).
(Also, please refrain from creating new tags unless you really think it's missing)
The optional pointer wrappers are part of OpenStudio's initiation/hazing process. You will come to accept them. You have to work through the other stages of optional pointer grief though.
Julien and Amir, Thanks for the info. I have moved my answer out of the question part. I realize now why it's good to put it down there as your solution, Julien, definitely deserves more positive votes. I might just refrain from using the tags until I understand them more. Is there a list of tags that is already established, Julien?
Whenever you start typing a tag, a list of possible ones pops up. Just make sure you use one that's already defined
Makes sense. Thank you, Julien!