Remove document?



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

    On 24/04/2004 at 22:18, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.5 
    Platform:   Windows  ;   
    Language(s) :   C.O.F.F.E.E  ;

    ---------
    Can anyone tell me how to properly remove an active document???
    When I try Remove() ,it is deleted from the document-list, but still lingers onscreen. Only when I select a different document (by hand) does it finally go.............. Also, I can`t seem to make another document get to the screen by making it active..why?



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

    On 25/04/2004 at 08:03, xxxxxxxx wrote:

    KillDocument() will remove a document (and frees memory) and SetActiveDocument()..well, the name says it all.



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

    On 25/04/2004 at 08:09, xxxxxxxx wrote:

    Ahh, but  arent  those c++only commands??? I cant seem to find `em in the coffee sdk??
    Thanks for any help.....



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

    On 25/04/2004 at 08:31, xxxxxxxx wrote:

    maybe I should mention what I have been doing...
    I wish to copy some objects from another LOADED document (using Getclone().. ),,, I can do this ,by setting another document as active ,using SetBit() ,or Getnext(). The objects copy perfectly well , but the active document refuses to be SEEN by the viewport! Only the loaded one wishes to show itself onscreen . Even when I  Remove()  the loaded document, IT stays in the viewport (even though it has been deleted) . Only when I use the mouse to choose another document   does the offending one finally die!
    Is this some kind of MESSAGE issue (I admit I am not too hot on this subject)....



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

    On 25/04/2004 at 08:37, xxxxxxxx wrote:

    upps sorry. I COFFEE you can use Remove() only for the documents (the memory freeing should be handled by Cinema then). And that the document cannot be seen after setting it as active is a COFFEE bug. And there is no workaround for it I know of.



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

    On 25/04/2004 at 10:25, xxxxxxxx wrote:

    Cheers, you`re a gent.... Oh well, I may stumble upon a different way to do it ....



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

    On 25/04/2004 at 12:55, xxxxxxxx wrote:

    YEEHAH!!!!
     dlovas (april 2003) had the same problem (I only just found it).
    He was instructed to use KillDocument()....which seems to be only for C++.
    I used it  ,and it worked! (I should have just tried the thing ,Samir!).
    WHY can I not find a single mention of this function in the COFFEE sdk?
    Have I missed it ? If not, it really should be included in capital letters!
    Unwritten features are not particularly handy!


Log in to reply