THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 31/10/2003 at 18:38, xxxxxxxx wrote:
Cinema 4D Version: 8.207
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
Since there's no Merge function in COFFEE, one is supposed to open new document and then copy/insert objects.
After inserting objects the new (temp) document is not needed anymore. Of course, a simple CloseDocument() function is also non-existent in COFFEE. So after studying the SDK I came to the conclusion that I can close a document by using:
The above function makes the new document indeed disappear from the document list in Cinema - but it doesn't close it! Only after I manually change to the old document, the Remove()-ed document disappears.
So I guess that just using of Remove() to close a document might not be enough. I fear that it just gets deleted from the list while still being there and taking up memory.
I see thet there's also the Free() function. Is it also supposed to be used to complete closing of documents?
I'll be very grateful if someone could tel me more about closing documents in COFFEE - is the above method right and if it is, what is missing. If not, then maybe a short example or a direction to an example of how it is supposed to be done.
Thank you, take your time - I promise to be a good boy and patently wait for an answer this time :-))