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

Renderers.current = MaxwellRenderer()


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:


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.

User avatar
By Mihnea Balta
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.

Thanks Luis. I am slowly getting my head around th[…]

I had some very strong highlights in some material[…]


Thanks everyone! I didn't want to use volumetrics […]

opening V5 files in v6

just installed latest version for Rhino V6 when I[…]