I am wondering if it is possible to get the number of stories in a model using the OpenStudio SDK, I thought that I could do this using the standardsNumberOfStories property in the Building class reference.
See: https://openstudio-sdk-documentation.s3.amazonaws.com/cpp/OpenStudio-2.7.0-doc/model/html/classopenstudio_1_1model_1_1_building.html
But it just returns an optional int and to_s or to_i return nothing, I seem to have found a dead end. Is there any way I can query the number of stories from the model using the SDK?