Notifications
Clear all

[Closed] Close "V-Ray messages" ?

Hello,

Is there a way to close “V-Ray messages” dialog via MaxScript ?

3 Replies
1 Reply
(@momo2012)
Joined: 1 year ago

Posts: 0

Sure,I am using the code these days.


 vr = renderers.current
 vr.system_vrayLog_show=false
 

Thanks momo2012, but it is not really what I needed. Let me explain more clearly.

I want to the V-Ray Messages” dialog to be opened when rendering (its default behavior) but I want to close it if the rendering was ok.

Ok ! Just got it ! For those interested :


local VRayConsoleHandle = (for i in (windows.getChildrenHWND 0) where ((UIAccessor.GetWindowClassName i[1]) == "VRAYCONSOLE") collect i[1])[1]
UIAccessor.CloseDialog VRayConsoleHandle