Message from dinamic link



  • 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



  • 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



  • 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



  • 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



  • 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



  • 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



  • 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



  • 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



  • 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



  • 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



  • 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



  • 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


Log in to reply