Notifications
Clear all
[Closed] How to switch dialog to Raytracer in Render Setup?
Apr 27, 2017 12:57 pm
Hi everyone,
I want to switch dialog to Raytracer in Render Setup dialog,but below codes need to more steps ,can anyone help me?thanks!
get_raytracer=""
DialogMonitorOPS.unRegisterNotification id:#Raytracer
DialogMonitorOPS.enabled = off
renderSceneDialog.open()
for i in (windows.getChildrenHWND (windows.getDesktopHWND())) where matchPattern i[5] pattern:"Render Setup: *" do get_raytracer=i[1]
DialogMonitorOPS.enabled = on
DialogMonitorOPS.RegisterNotification UIAccessorNotification id:#Raytracer
--Get the Raytracer text name,and switch current to it.
--got_Raytracer_text=?
--UIAccessor.pressButton got_Raytracer_text
--for i in (windows.getChildrenHWND get_raytracer) do print i[5] --get sub column name,does not work
DialogMonitorOPS.unRegisterNotification id:#Raytracer
DialogMonitorOPS.enabled = off
2 Replies
Apr 27, 2017 12:57 pm
Check this script: http://www.scriptspot.com/3ds-max/scripts/change-viewport-statistic
I use some code posted here, in the forum, so you can try to find the original.
Apr 27, 2017 12:57 pm
Thanks for great help!I finally found a solution from here:
http://forums.cgsociety.org/showthread.php?t=1099501
And it works! :bowdown: