Announcement

Collapse
No announcement yet.

Access VrayToon through MaxScript

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

  • Access VrayToon through MaxScript

    Hi there,
    I'm currently working on a project with a lot of VrayToon,
    It works extremely well but I was wondering how to access the listed objects through another window than the environment window.
    I have some VrayToons Effets with hundreds of objects and I'm trying to find some mistakes. But when you only have 7 name at ones that are showed is not very easy.
    So I thouth it could be possible by maxscript but I did not find the right approach, if it's possible. I try this to list all the vray properties :

    Code:
    vr = renderers.current
    show vr
    But I could not find anything referring to VrayToon.
    Is it possible to export the list of all the objects that are in one Vraytoon and may be find a way to import a list of objects through that command ?

    Thanks a lot.

    Stan
    3LP Team
    3LP Team

  • #2
    VRayToon is an atmospheric effect; as such you can access it with the normal 3ds Max functions for atmospherics, e.g.
    Code:
    vtoon=getAtmospheric 1
    showproperties vtoon
    The list of objects specifically is accessible through the "excludeList" parameter of the VRayToon atmospheric. However it looks like MaxScript access for writing to that parameter is somewhat limited (at least from my minimal experience with MaxScript).

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment

    Working...