Message when user change FPS, MinTime and MaxTime



  • On 02/11/2015 at 05:02, xxxxxxxx wrote:

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

    ---------
    Hi everyones,

    Could I trigger an event or catch a message when user is changing MinTime and MaxTime in document ?
    It is possible to Catch it also when he changing the FPS ?

    This is to force update of my tag deriver from TagData !

    Many thanks in advance 😉



  • On 03/11/2015 at 05:17, xxxxxxxx wrote:

    Hi,

    this has been discussed in the Python subforum some time ago in the "Preview Min Time" message thread.
    You can listen to EVMSG_CHANGE and then compare the parameters you are interested in.



  • On 03/11/2015 at 05:22, xxxxxxxx wrote:

    Thx !!

    You win a beer if you are at Paris one day :



  • On 13/11/2015 at 07:02, xxxxxxxx wrote:

    I Have found this message (undocumented) : 1073741828



  • On 17/11/2015 at 09:10, xxxxxxxx wrote:

    Hi,

    can you please let me know, in which context you are using above message ID. It doesn't seem to work for me here.



  • On 17/11/2015 at 09:15, xxxxxxxx wrote:

    Hum, Cinema 4D R17.032 - RB139719

      
      
    class myplugin : public TagData  
    {  
       virtual Bool Message(GeListNode * node, Int32 type, void *data);  
    }  
      
    Bool myplugin ::Message(GeListNode * node, Int32 type, void *data){  
      
      switch (type){  
      
      case MSG_DOCUMENTINFO:                        // Si le document est chargé / sauvegardé / etc  
          CheckDescriptionValues(node);  
          break;  
      case MSG_DESCRIPTION_CHECKUPDATE:            // Si des valeurs sont modifié sur l'interface du tag  
          CheckDescriptionValues(node);  
          break;  
      case EVMSG_CHANGE:  
          break;  
      case MSG_GETCUSTOMICON:                        // Mise à jour du Logo  
          if (Data.matchFound != Data.lastMatchFound){  
              UpdateTagLogo(node);  
          }  
          break;  
      case 1073741828:                            // Changin minTime maxTime and FPS  
          CheckDescriptionValues(node);  
          break;  
      default:/*  
          if (Data.lastMessage != type){  
              GePrint( String::IntToString(type) );  
              Data.lastMessage = type;  
          }*/  
          break;  
      }  
      
      return true;  
    }  
    


  • On 17/11/2015 at 09:39, xxxxxxxx wrote:

    I think, you have to recheck your code.
    My assumption is, that it works for you only, because the tag, or the object it's attached to, was selected, while you tested it.

    1073741828 is actually MSG_MULTI_MARKMATERIALS and at least here on my system, I don't get this on changes of preview min/max time or any related values.


Log in to reply