I'd like to set which UV map is selected in Properties > Object Data > UV Maps. By "selected", I'm referring to the one highlighted, not the one with the camera icon enabled.
bpy.context.object.data.uv_layers.active = bpy.context.object.data.uv_layers['AO']
uv_layers.active remained at the previous value and there was no error message.
How can I set the active UV map from python?