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

    Message when user change FPS, MinTime and MaxTime

    SDK Help
    0
    7
    610
    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
      Helper
      last edited by

      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 😉

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

        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.

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

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

          Thx !!

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

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

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

            I Have found this message (undocumented) : 1073741828

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

              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.

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

                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;  
                }  
                
                1 Reply Last reply Reply Quote 0
                • H
                  Helper
                  last edited by

                  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.

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