ScriptSpot home

Forum topic · General Scripting

Vray Script

By Mrjacks2o · 2014-03-10

Description

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 (4)
Mrjacks2o

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

brttd

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

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

brttd

This may help you, taken from here:

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