Announcement

Collapse
No announcement yet.

Simple script to Set RPMMaterial... Help needed...

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

  • Simple script to Set RPMMaterial... Help needed...

    Hello Guys....

    My script's ability sucks... and I want to do a simple script :

    I'm using RPManager with RPMMaterial, this material help you assigning a by pass Material

    http://www.rpmanager.com/

    The material's "node" name is : RPMMaterial (like Standard or )
    And their is a attribute that I like to modify : .wishpass

    What I want is to set all the RPMMaterial.wishpass in my scene to 1 or 2 etc...

    Can someone help me... Please...


    Best regards...
    My Flickr

  • #2
    Thanks a lot guys but I found the answer :

    --
    for i in objects where isproperty i #material AND classof i.material == RPMMaterial do
    i.material.whichpass = 5
    --
    My Flickr

    Comment

    Working...
    X