INSTANCEOBJECT_LINK problem
-
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 codeAutoAlloc<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?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/08/2005 at 12:33, xxxxxxxx wrote:
Did you try inserting the instance object into the document first? I believe it might be checking the link to see if it's in the same document.