Hello everyone
Does anyone know how to programmatically (through python) trigger the "update full scene" command that shows in the render window , under the "render" menu?
I have been searching through the scripts and reading the source code, but I have not had any luck finding a reliable way to refresh the full scene.
Sincerely.
import maya.cmds as cmds
cmds.arnoldRenderView(option =["Update Full Scene","1"])
Any menu in the renderView can be triggered with the argument -option, by using the exact same name as the menu label (including whitespaces / uppercases, etc..).
A bit more explanations here https://support.solidangle.com/display/A5AFMUG/Arnold+RenderView+Window#ArnoldRenderViewWindow-Editi...
By the way, we're still tracking all the situations where IPR fails and forces you to use this option (that shouldn't even exist, and is just there as a workaround).
So if you have any repro cases that don't refresh properly in IPR, please let us know so that we can simply fix them. This way you won't have to use it anymore 😉
Hello there,
The main case where I see this is when I connect or disconnect a transform.worldMatrix attribute into any shading node.
Sorry, I'm not managing to reproduce the problem, would you be able to send me a simple repro scene with the steps ? if I can reproduce it, it could maybe be solved for next release. Thanks
This is a big problem for me with animated displacement maps. I have to trigger a "update full scene" call with every timeline frame change.