console drop ID



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 20/06/2006 at 03:16, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   9,6 
    Platform:   Windows  ; Mac  ;  Mac OSX  ; 
    Language(s) :     C++  ;

    ---------
    Hi,

    since it´s possible in 9.6 (or already 9.5?) to drag and drop a resource item from the AM directly into the console window and get the ID of the item, I would like to know the message that is sent to retrieve this ID? (or any way I could retrieve the ID from a D&D; operation)

    Couldn´t find anything in the docs.

    Thanks in advance
    Katachi



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 27/06/2006 at 01:20, xxxxxxxx wrote:

    It's DRAGTYPE_DESCID and the payload is a DescPropertyDragData. Test this by inserting the following into line 585 of asynctest.cpp:

        
        
        else if (type == DRAGTYPE_DESCID)  
        {  
          DescPropertyDragData* dpdd = static_cast<DescPropertyDragData*>(object);  
          string = prefix + "description ID " + LongToString(dpdd->did[0].id);  
        }
    


  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 27/06/2006 at 01:28, xxxxxxxx wrote:

    thx Mikael!!


Log in to reply