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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Wait for tag Execute

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 483 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 30/11/2017 at 12:49, xxxxxxxx wrote:

      Hi,

      I'm starting with Python on C4D, and there's something (probably really basic) that I can't make work.

      My simple script creates an object and adds a custom C++ tag to it. The tag Execute() method will generate some data that I need to feedback into the script, but the tag will only process once the script is finished.
      How can my script wait for Execute()?
      Should I listen to some message instead? How?

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

        On 30/11/2017 at 13:23, xxxxxxxx wrote:

        You can do ExecutePasses which will evaluate the whole scene and of course your tag.

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

          On 30/11/2017 at 14:21, xxxxxxxx wrote:

          Awesome, thanks!

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