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

    MSG_DESCRIPTION_GETINLINEOBJECT

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 246 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 23/08/2012 at 11:46, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:    
      Platform:      
      Language(s) :

      ---------
      What is the use of the MSG_DESCRIPTION_GETINLINEOBJECT message? I can't get my head around its actual use. The docs only say the following:

      Sent by the Attribute Manager to the object. The object can check for a description ID and return the linked objects in the atom array. The corresponding data is DescriptionInlineObjectMsg.

      I wonder what it's for because it is sent very very often.

      Thanks,
      Niklas

      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/08/2012 at 10:16, xxxxxxxx wrote:

        Anyone? 🙂

        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 01/09/2012 at 13:32, xxxxxxxx wrote:

          Hi,

          just try to add this to you custom ObjectPlugin.

            
              
              
              	if (type==MSG_DESCRIPTION_GETINLINEOBJECT)
              	{
              		DescriptionInlineObjectMsg *diom = static_cast<DescriptionInlineObjectMsg*>(t_data);
              		if((*diom->id)[0].id==1000){
              			BaseObject *ob = (BaseObject* )node; //set Linked Object here!
              			diom->objects->Append(ob);
              		}
              	}  
              
          

          Do not forget to create LONG  GUI element with ID 1000.
          Now it will lock like LINK (description element) with triangle that will show the Object it self if you click on it.

          Remo

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