Announcement

Collapse
No announcement yet.

Help... Simple Script to set all VrayMtl Mats

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help... Simple Script to set all VrayMtl Mats

    Hello

    I need a simple script to set all VrayMtl cutoff, in my scene, to 0.02.

    I've got more than 130 Materials. Too long to setup each.

    Please help...

    Best regards.
    My Flickr

  • #2
    Hello,

    I found a simple sample to do this on CGtalk :

    Code:
    VrayMtlArray = for i in (getClassInstances VrayMtl) collect i
     for i in VrayMtlArray do (i.option_cutOff = 0.02)

    Best regards...
    My Flickr

    Comment

    Working...
    X