Based on the answers here and the minimal example here @Julien Marrec, I understand how to set the setpoint once I have the shading control object.
However, I don't want to create a new SC, but find all existing ones.
The following line:
scs = model.getObjectsByType("ShadingControl".to_IddObjectType)
returns an uninformative error:
eval:1:in `initialize': Unknown Value (RuntimeError)
in an OpenStudio measure. Should I be using an EnergyPlus measure instead?