Vray Scripting Problem (MaxObject?)

Im making a script here and trying to interact with Vray's setting via a script VS flipping through tabs. Ive hit a wall in one area here when I try to modifiy the filter type in max. According to the Vray Maxscript documentation, the filter type is in the classof Maxobject (not entirely sure if thats important)

renderers.current = V_Ray_DEMO_1_50_SP2()
vr=renderers.current

when I type in "vr.filter_kernel" that points to the A.A. filter currently active in Vray and returns something like Area:(null) , or Mitchell-Netravali:(null) depending on the active filter. I tried to modify the filter used via script without sucess. I tried:

vr.filter_kernel = Mitchell-Netravali:(null)
vr.filter_kernel = Mitchell-Netravali
vr.filter_kernel = (Mitchell-Netravali:(null))
vr.filter_kernel = Mitchell-Netravali[1]
etc etc etc and I keep getting the same error message "

-- Unable to convert: Area to type: MaxObject

Im starting to wonder if this is a "read only" type thing. Any help would be apreciated. How can I change the filter_kernel via script, OR how can I figure out if what Im looking at might be read only or not?

Thanks

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kimarotta's picture

I have the same problem ...

I have the same problem ... anyone have any tips ?

thanks

kimarotta.com.br
3d Artist  

barigazy's picture

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.