Notifications
Clear all
[Closed] Is it possible to switch the renderer through script?
Oct 31, 2010 9:57 pm
This has probably been asked before, but my searches are turning up nothing. Would it be possible to use a macro to switch from scanline to MR, quicksilver or Iray? I would like something quick like this versus just digging in the menu every time.
2 Replies
Oct 31, 2010 9:57 pm
Yes you just need to set the renderers.production to an instance of the renderer plugin.
renderers.production = mental_ray_renderer()
NOTE: this will not show if the Render Scene Dialog is open. You will need to manually update the dialog if it is open.
if (renderSceneDialog.isOpen()) do (renderSceneDialog.update())
NOTE 2: Most renderers inside of 3ds Max don’t store their settings when you switch to another renderer, so I would reccomend saving your settings to a render preset if you wish to bring those settings back.
-Eric