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

    console drop ID

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 381 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 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

      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 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);  
            }
        
        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 27/06/2006 at 01:28, xxxxxxxx wrote:

          thx Mikael!!

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