looking for scrip tto turn on trace reflections option

When converting all standard mats to vray ones trace reflection option is off. Is there a script to turn it on in all selected materials?


theMats=getclassinstances VRayMtl
for i in themats do i.option_traceReflection = on

Copy the two lines of script and paste them into the maxscript listener pink area.
Select them, and press shift+Enter (not the one on the keypad, the normal enter) to execute them.
This will turn the option on.
If you want to know what each option and spinner is, in the vray material, replace the second line with this line, and rerun.

showproperties theMats[1]

It will print out each option, so you’ll be able to quickly change them en masse.
Alternatively, turn the macrorecorder (Macrorecorder->Enable in the listener menus) and change the option in one material, to see printed out what you did.

Lele

Thank you very much studioDIM

Or as we prefer to call him… Lele :slight_smile:

or other things!

:lol: indeed

ROFL a LOT !

I do pronounce his name < Lele > in a french accent, which
actually comes out very nice :lol: :lol:

HEY LELE , how’s things mate…
I do miss that SILENT sleep from the top stairs… you know what i am talking about…

and the beer… Send regards to your parents and brother… and do teach him to drive a bit like you… he might fall asleep sometime behing the wheel.

:)))))))))

Best regards,
nikki Candelero

LOL nikki.

Dad’s still as SILENT as he’s always been, i’m afraid.
I can actually hear him snore two floors below right now…:roll:

As for my broh, i tried, oh i tried…
And miserably failed…

I do miss that night on the booze, quite a lot.
Still haven’t managed to have a replay of it with Simo, always busy to the top of his head… :cry:

As to CJ, he uses to call me “Sistah”.
That’s what i can type here, anyways :lol:

Lele

lol you know what you are you sistah!

:lol: :lol: :lol: