InExclude crash

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 08/07/2006 at 03:47, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   9,6 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Hi,

I want to add an object to an inexclude table when my user presses a button in the AM.

I tried setting it like this:

op = AllocObject()
InsertIntoScene()
inex->InsertObject(op,0);

This crashes Cinema 4D. What am I doing wrong?

Thanks

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 08/07/2006 at 03:52, xxxxxxxx wrote:

ah ok, I found the problem.

http://www.plugincafe.com/forum/display_topic_threads.asp?ForumID=4&TopicID;=1279&SearchPagePosition;=1&search;=inexclude&searchMode;=allwords&searchIn;=Thread&forum;=4&searchSort;=dateDESC&ReturnPage;=Search