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
    • Register
    • Login

    Getting informed about objects change

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 330 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

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 13/09/2005 at 06:19, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.102 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      I have a question of a more general nature:

      My plugin runs with a timer. I want to get
      informed about changes in some of the scenes
      objects. Now I can ask in my timer all -
      lets say - 100 objects again and again if a
      obj _- >GetDirty(DIRTY_DATA) count has
      been changed.
      This seems reluctant when nothing has been
      changed at all. Is there a message that
      tells me, that an (overall) change in the scene
      (no certain kind) occured?
      Only if this Message has been sent, I would
      ask all the objects for their count.

      Or am I doing wrong this way?
      Thanks for any advice!

      Sascha

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 13/09/2005 at 20:36, xxxxxxxx wrote:

        If you're using a dialog plugin ...
        Try it using
        LONG YourDlgPlugin::CoreMessage(LONG id, const BaseContainer& msg)
        {
           switch(id)
           {
              case EVMSG_CHANGE:
              {
                //Do sth you want ...
              }
           }
        }

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 15/09/2005 at 03:19, xxxxxxxx wrote:

          This has helped...

          Thanks a lot!
          Sascha

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