Forum topic · General Scripting
Vray Properties in maxscript
By chentxo · 2007-06-02
Description
Comments (10)
Thank for the script. But i
nameveiof · 2014-05-12
qerrrrr, thank for the script. But i want to add one more option. Set on "matte for refl/refr"
I tried to add string "try(setUserProp obj "VRay_Secondary_Matte" true)catch()",
as far as i understand "VRay_Secondary_Matte_Enable" variable responsible for this
macroScript Macro21
category:"DragAndDrop"
toolTip:""
(
fn SetAsMatte obj =
(
try(setUserProp obj "VRay_Matte_Enable" true)catch()
try(setUserProp obj "VRay_Matte_Alpha" -1.0)catch()
try(setUserProp obj "VRay_Matte_Shadows" true)catch()
try(setUserProp obj "VRay_Secondary_Matte_Enable" true)catch()
)
for n = 1 to objects.count do SetAsMatte objects[n]
)
, but this has no affect, option "matte for refl/refr" no changed.
How can i do this?
qerrrrr · 2009-01-20
fn SetAsMatte obj =
(
try(setUserProp obj "VRay_Matte_Enable" true)catch()
try(setUserProp obj "VRay_Matte_Alpha" -1.0)catch()
try(setUserProp obj "VRay_Matte_Shadows" true)catch()
)
for n = 1 to objects.count do SetAsMatte objects[n]
somrad · 2008-10-04
I like Scriptspot.
feilang · 2008-04-04
Hi,chentxo,
I'v got the same trouble with you,and I tried "getUserPropBuffer " in maxscript listener,there was no reaction.Can you tell me how does that syntax work?Thank you~
I'm not too sure what you
vsai · 2007-10-26
I'm not too sure what you mean by DR properties.. but the list of DR servers is stored in the plugcfg/vray_dr.cfg file.. and you can edit the file at will
easyfrog · 2007-10-26
I want use vray distributed rending properties.
But i don't know how to get it ?
Can you help me? Thanks!
feilang · 2008-09-17
You may work like this
Step 1: Set the current renderer to VRay
Step 2: Run the following codes in MAXScript Listener
|
vr = renderers.current
|
You may also find vray properties on online reference:
ok, sorry, it's solved, just
chentxo · 2007-06-02
its not getUserPropBuffer ,
obaida · 2021-06-23
its not getUserPropBuffer <node> , its filterstring (getUserPropBuffer <node>) ""
its not getUserPropBuffer ,
obaida · 2021-06-23
its not getUserPropBuffer <node> , its filterstring (getUserPropBuffer <node>) ""