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?