Renderlayer issues

Hi People,

So here we are again with another renderlayer problem. This time cracking us up with problems on the displayRGBColor command not updating when I run my playblast script that goes from one renderlayer blasts it, jumps to the next one blasts it etc. making a playblast with the scene name as prefix and the suffix name as the layer its blasting. Simple stuff. The problem happens when the script changes layer, it does not update correctly on the background color. does anyone know how to sort of tell maya to refresh its GUI settings after the script has rendered one layer and jumps to the next one?

Thanks!

All the best
Kasper

Try maya.cmds.refresh (force=True).

Does that help?