THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/08/2005 at 12:27, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.1
Platform:
Language(s) : C++ ;
---------
I am trying to create an instance object, and using the following code
AutoAlloc<BaseLink> link;
if(link)
{
link->SetLink(m_cachedObject);
instance = BaseObject::Alloc(Oinstance);
instance->SetParameter(DescLevel(INSTANCEOBJECT_LINK), GeData(link), 0);
instance->Message(MSG_UPDATE);
...
After inserting it into the document, there is just an empty instance.
Am I missing something?