* Solved* Force a Iray Preview render to restart

TotteTotte Posts: 13,514

My script change the contents of the file beloning to a file property (and the set the data to that file property), but if the filename is the same as last time, it doesn't trigger a refresh of the Iray preview scene, so the change is not visible. I've tired Scene.update() and Scene.invalidate() with no luck so far.

Anyone knows the trick to "kick the Iray preview in the rear" so it reprocesses the scene and starts to render with the new data?

Edit: The trick was to first set the filename to "", then back to the old one, then it triggered a change.

Post edited by Totte on
Sign In or Register to comment.