Hello,
I am pretty new to blender, but have been writing python for maya for a decade.
With an object selected, I am adding a modifier to a mesh with
mod = obj.modifiers.new('','SHRINKWRAP')
The modifier is added, but isn’t reflected in the active modifier properties window unless I force a refresh.
Not sure if this is expected behaviour.
Cheers!