Getting informed about objects change



  • 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



  • 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 ...
          }
       }
    }



  • 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


Log in to reply