Announcement

Collapse
No announcement yet.

VRay Object Properties Visible to MAXScript???

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

  • VRay Object Properties Visible to MAXScript???

    Are the VRay object properties visible to MAXScript?

    I am in the process of writing a script that will simplify the process of rendering out separate layers using matte objects and then return all object prpoerties to what they were before, but the whole thing rests on whether or not the VRay object properties are visible to MAXScript? Does anyone know?

    Thanks

  • #2
    Yes,
    you can script it like this:

    setUserProp $Box01 "VRay_Matte_Enable" True
    setUserProp $Box01 "VRay_Matte_Alpha" (-1)
    setUserProp $Box01 "VRay_Matte_Shadows" True
    setUserProp $Box01 "VRay_Matte_ShadowAlpha" True

    All properties are listed in the custom properties. Just rightclick an object ->properties and go to the custom properties tab. There are the vrayproperties. They are saved with the scene states also.

    Best regards,

    Dieter
    --------
    visit my developer blog

    Comment


    • #3
      Thanks a lot. Thats perfect!

      Comment

      Working...
      X