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:
Cinema 4D Version:
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.
On 27/08/2012 at 10:16, xxxxxxxx wrote:
On 01/09/2012 at 13:32, xxxxxxxx wrote:
just try to add this to you custom ObjectPlugin.
DescriptionInlineObjectMsg *diom = static_cast<DescriptionInlineObjectMsg*>(t_data);
BaseObject *ob = (BaseObject* )node; //set Linked Object here!
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.