Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    "Render Marked Takes" Command via Python?

    General Talk
    python s26
    2
    3
    668
    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.
    • delizadeD
      delizade
      last edited by

      Hello,
      I need to use a button (of a python script) for "Render Marked Takes to PV" take menu command instead of reaching it via menu>submenu interaction. But I could not find a way to run it via Python. Is it possible?

      (In previous versions of C4D those were buttons actually. They moved them to menu I don't know why)

      thank you

      1 Reply Last reply Reply Quote 0
      • ManuelM
        Manuel
        last edited by

        hi,

        this is lacking a bit of context. But you can always use the script log to know how what is the ID you must use. The script log can be found in the extension menu.
        But if you just need a button to run that, you can just drag and drop the command from the command manager to your UI.

        if not c4d.modules.takesystem.IsTakeRenderRunning():
                c4d.CallCommand(431000068)
        

        Cheers,
        Manuel

        MAXON SDK Specialist

        MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • delizadeD
          delizade
          last edited by

          Hi Manuel,
          Thank you for your help.

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