Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    Get Access to Vray MP Manager

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 265 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          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 ?!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post