UNSOLVED SetDriven updated at the end of script and not when SetDriver is updated

I am trying to update SetDriver from the script and then do a CallCommand for rendering. The SetDriver is basically change in render setting Image save path.

The SetDriven is only changed when the script ends and not straight away after SetDriver is updated.

I want SetDriven to get updated as soon as SetDriver is updated through python script.

Please help.


Set Driven Keys is just some workflow to create an Xpresso setup connecting two parameters. This has nothing to do with scripting or CallCommand().

Can you maybe explain somehow differently what you want to achieve?

best wishes,