User avatar
By stir
#385962
Hey
I just started testing out some maxscripting towards maxwell.
Right now i am just trying some basic stuff.


Renderers.current = MaxwellRenderer()

vrt=renderers.current

showProperties vrt


The show properties gives me a list of properties i now can change.
so i tried a couple.


vrt.gsSamplingLevel = 18
vrt.gsRenderTime = 345
vrt.gsGenerateMXIOutput = true


I then get feedback in the listener:

18
345
true


So it all looks good until i check in the UI. The sampler still says 12 as default. MXI is not toggeled on and the timer is also default 30.
Is this a bug, or am i using the commands wrong?

Thanks for anyhelp.

-Mats
User avatar
By Mihnea Balta
#385963
If you have the render settings window open, it will not update when you set the values from maxscript, because there's no event mechanism to allow this. What's worse, closing the window after that will save all the values from the UI to the render settings object, so all the changes you did from maxscript will be overwritten. The solution is to close that window before running your script.

...and 3 Days later, 82.528 Views !!! ...NL, every[…]

Hello dear customers, We have just released a new[…]

grass generator extension

Just downloaded MWR5 for Rhino 6 and want to use g[…]

Hello everyone, I have a new bug with the latest M[…]