Get Access to Vray MP Manager



  • On 26/06/2014 at 02:54, xxxxxxxx wrote:

    Is there any way to list all BaseObjects in a file?

    I need to know if there an

    <c4d.BaseObject object called 'Raw Light/mpnode' with ID 1028267 at 0x0000000008A32430>

    and other.

    I looking for a Expression like this:

    MultipassManager[c4d.VRAYRE_RAWREFLECTION]

    to check if any pass enabled or disabled



  • On 30/06/2014 at 07:45, xxxxxxxx wrote:

    You can iterate over the tree in linear or recursive fashion. Navigate via BaseObject.GetNext(),
    ~.GetDown() and ~.GetUp() (required for linear traversion) or use BaseObject.GetChildren() to
    easily get a list of all children and iterate it in a for-lopp (makes it easy to use recursion).

    Best,
    -Niklas



  • On 17/07/2014 at 14:39, xxxxxxxx wrote:

    jupp - all allready know that.

    but how i get the baseObject for that?

    you can gain acces to the VrayMP manager via :

    c4d.CallCommand(1028266,command) # call MP Command

    command is an value listed in a document in the vraybridge folder.

    but there is no way to check if a pass is enabled or added ?!


Log in to reply