Vray Script

Hi i am trying to figure out how i can turn on and off
in the "Vray object properties" -> "Visible in refractions"
using max script?

thanks in advance

Comments

Comment viewing options

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

Thank you very much end

Thank you very much end result -
setUserProp $ "VRay_GI_VisibleToRefractions" "False"

brttd's picture

setUserPropBuffer <node>

setUserPropBuffer <node> "VRay_GI_VisibleToRefractions=false"

The second part ("VRAY_GI....") needs to be a string, including what it is to be set to.

Mrjacks2o's picture

thanks but still cant figure

thanks but still cant figure out what to put for "Visible in refractions"
any idea?

brttd's picture

This may help you, taken from

This may help you, taken from here:

"If it's usefull for anybody: "getUserPropBuffer <node>" gives you all the vray properties and more."

Comment viewing options

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