Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MtoA - How to trigger "update full scene" programmatically

5 REPLIES 5
Reply
Message 1 of 6
rudy4HYXA
1218 Views, 5 Replies

MtoA - How to trigger "update full scene" programmatically

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.

Tags (1)
Labels (1)
5 REPLIES 5
Message 2 of 6

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...

Message 3 of 6

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 😉

Message 4 of 6

Hello there,

The main case where I see this is when I connect or disconnect a transform.worldMatrix attribute into any shading node.

Message 5 of 6

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

Message 6 of 6

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report