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

    Message from dinamic link

    Scheduled Pinned Locked Moved SDK Help
    12 Posts 0 Posters 856 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 14/01/2009 at 04:49, xxxxxxxx wrote:

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

      ---------
      Hello all,
      here my new question 😉
      in my plugin i have some dinamic inteface, in this interface i need know if user click on clear command in arrow of a BaseList2d link interface.
      is there a way to do this ?
      Thanks in advace
      Franz

      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 14/01/2009 at 05:56, xxxxxxxx wrote:

        The MSG_DESCRIPTION_USERINTERACTION_END mesage is sent after an object has been dragged into a Link field and after the clear command has been executed.

        cheers,
        Matthias

        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 14/01/2009 at 06:15, xxxxxxxx wrote:

          hello Matthias,
          thanks for reply, but is there a specifc structure or id to detect if user click clear or other 2 command ?
          THanks in advance
          Franz

          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 14/01/2009 at 06:21, xxxxxxxx wrote:

            It only is called after clear and after dragging an object into the link field. You have to check the link field for its content. Afaik there is no way to check specific for the clear command.

            cheers,
            Matthias

            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 14/01/2009 at 06:23, xxxxxxxx wrote:

              ok Thanks a lo,
              i'll test some of my code for thes
              Bset
              Franz

              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 17/01/2009 at 09:05, xxxxxxxx wrote:

                ok,
                i already try with MSG_DESCRIPTION_USERINTERACTION_END, is so strange i can detect a specif message for clearig a link content, in my plugin i have a lot of link (and otehr interface) and same message was sent if a cleare one of this, have anyone an experience to know witch of my n linck is cleared ?
                thanks
                Franz

                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 17/01/2009 at 14:40, xxxxxxxx wrote:

                  sorry,  a lot of typo error and i can't edit 😞
                   
                  ok,
                  i already try with MSG_DESCRIPTION_USERINTERACTION_END, is so strange i can't detect a specific message for clearig a link content, in my plugin i have a lot of link (and otehr interface) and same message was sent if i cleare one of this, have anyone an experience to know witch of my n link is cleared ?
                  thanks
                  Franz

                  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 18/01/2009 at 15:34, xxxxxxxx wrote:

                    Howdy,

                    Can you poll for MSG_DESCRIPTION_CHECKUPDATE and see if there is a DescriptionCheckUpdate structure included, which should have a DescID of the updated description parameter?

                    Adios,
                    Cactus Dan

                    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 18/01/2009 at 23:50, xxxxxxxx wrote:

                      hello Dan
                      Thanks, you meen i should bounce from MSG_DESCRIPTION_CHECKUPDATE to MSG_DESCRIPTION_USERINTERACTION_END to get id of my link and work on it ?
                      preaps this can work for me i'll Try it.
                      thanks
                      Franz

                      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 19/01/2009 at 04:08, xxxxxxxx wrote:

                        Dan is right, I totally forgot about MSG_DESCRIPTION_CHECKUPDATE. Here is an example how you check for the link:

                        > \> Bool LookAtCamera::Message(GeListNode \*node, LONG type, void \*data) \> { \>      BaseTag                    \*tag = (BaseTag\* )node; \> \>      if(type == MSG_DESCRIPTION_CHECKUPDATE) \>      { \>           DescriptionCheckUpdate \*dcu = NULL; \>           dcu = (DescriptionCheckUpdate\* )data; \>           if(dcu) \>           { \>                GeData d; \> \>                if(tag->GetParameter(\*dcu->descid, d, 0) && d.GetType()==DA_ALIASLINK) \>                { \>                     BaseObject \*obj = NULL; \>                     obj = (BaseObject\* )d.GetLink(tag->GetDocument(), Obase); \>                     if(obj) GePrint(obj->GetName()); \>                     else GePrint("no object"); \>                } \>           } \>      } \> \>      return TRUE; \> } \>

                        cheers,
                        Matthias

                        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 19/01/2009 at 05:17, xxxxxxxx wrote:

                          Hello Matthias,
                          thanks, i already use it, baut my problem is make some action on linked object on linking phase and some other on clearing.
                          i think i need to check set/getDirty, but i don't understand completely how works it.
                          for the moment Thanks
                          franz

                          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 19/01/2009 at 15:34, xxxxxxxx wrote:

                            hello all,
                            ok i found my problem, i need to know the previwes links content because i need to reset linked Element settings if link is cleared, preaps i need to fill an atom array with link content, but when and where i can store it ?
                            Sorry i am beginner on this stuff.
                            thanks in advace
                            Franz

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