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

Revision history [back]

Hey @jmcneill this is a good question and one that we don't really have documented well. Basically we found issues with our Ruby and C# bindings when we had classes with the same name but in different namespaces/modules. This should be ok but rather than than fight, we simply renamed ReverseTranslator in the gbXML module to GbXMLReverseTranslator:

https://github.com/NREL/OpenStudio/blob/develop/openstudiocore/src/gbxml/gbXML.i#L31

So in your code you would just do this instead:

OpenStudio::GbXML::GbXMLReverseTranslator.new()

HTH, Dan