THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/06/2006 at 13:01, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.6
Platform: Mac OSX ;
Language(s) : C.O.F.F.E.E ;
---------
I've spent many hours to solve this and are at loss.
What is the correct way to Remove() a coffe expression pluginTag?
What is happening is I remove the Tag by a UserData on the tag itself.
That works fine as long as I'm working in the scene. I can Undo etc.
However, when I finaly quit Cinema , it crashes.
Looking thru the board I find the Free() option. But only together with C++. Can't find it in the Coffe SDK.
I've tried using Free() in COFFE but have failed to get it working.
As well as all sorts of AddEvents, force redraw, MSG_UPDATE etc
I also found an answer that if the tag have a tag check running,
Like:
while (tag)
if [tag->GetType() == type).....etc
it might not be wise to Remove it. But I need to do that :)
What I suspect is that I can't get the Tag free from the document.
Any ideas what to check/do/try?
Cheers
Lennart