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

    Execute a tag only if a parameter changes

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 175 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/04/2014 at 15:25, xxxxxxxx wrote:

      Is there any way to check, at the Execute module of a tag, if something has changed in the parameters of the tag and return immediately if nothing has changed?
      It seems that tags have no attribute IsDirty to check with IsDirty(c4d.DIRTY_DATA)

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

        On 02/05/2014 at 06:21, xxxxxxxx wrote:

        There's GetDirty(). Save the value it returns, and if the current one differs with the saved on, your Tag has changed.

        -Niklas

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