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

Revision history [back]

Here's a "I don't know really, but I'll try anyways" answer.

space.name doesn't work? What about space.spaceType()? I'm no C++ expert and certainly know nothing about C#, but it does look like spaceType is a method as well no? See Space.cpp#L486

One thing is that all OpenStudio objects actually have a name (and a handle), and this method (.name) isn't defined in the class itself (nowhere in Space.cpp, Space.hpp, Space_Impl.hpp) while the space.spaceType is actually defined there. That might be it.