THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/04/2010 at 14:31, xxxxxxxx wrote:
Cinema 4D Version: r11
Language(s) : C++ ;
i am trying to figure out how i can add objects of an InExclude List to the dependency list. i thought it would be like this:
InExcludeData *objektListe = (InExcludeData* )bc->GetCustomDataType(OBJEKTLISTE,CUSTOMDATATYPE_INEXCLUDE_LIST);
dirty = FALSE;
// start new list
for (int a=0;a<objektListe->GetObjectCount();a++)
temp = (BaseObject* )(objektListe->ObjectFromIndex(doc,a));
dirty = op->CheckCache(hh) || op->IsDirty(DIRTY_DATA);
dirty = dirty || !op->CompareDependenceList();
but it doesnt work. the plugin is recreated all time...
any idea what is wrong here??
thanks in advance,
On 20/04/2010 at 21:30, xxxxxxxx wrote:
Where do you call your code?
On 20/04/2010 at 22:20, xxxxxxxx wrote:
i call it in GetVirtualObjects after i have read out the parameters
On 21/04/2010 at 01:52, xxxxxxxx wrote:
Well, have a look at the roundedtube example in the SDK, which does quite what you're trying to do.
Hope it helps
On 21/04/2010 at 08:31, xxxxxxxx wrote:
thank you, but this still doeant handle the inexlude list.. thats the issue.
edit: ok, it works now. seems i just placed the functions at the wrong place in my plugin. thanks again