OpenStudio.BCLMeasure.arguments returns an empty vector
I'm using C# bindings of OpenStudio API to load measures from file, get it's arguments, modify a number of them and run the measure.
import OpenStudio
measure = OpenStudio.BCLMeasure(OpenStudio.Path(pathToMeasureDir))
args = measure.arguments()
# modify arguments, etc...
The workflow works fine for measures with a standard measure.xml (e.g. radianceMeasure) however when I test it for a measure such as Chilled Beam with DOAS, which misses the arguments tag inside the measure.xml file, it returns an empty BCLComponentVector.
If I load the measure inside OpenStudio App it loads the arguments fine. How does the app loads the arguments? Is there another API call that I should use to get the arguments?
PS: Watch this video for the workaround.
I think I have an idea why this is happening, I'll follow up when I'm in the office, but if you get a chance can you see if the bar aspect ratio measure works fine. It is under form/opaque.
Bar aspect ratio also returns no arguments.