Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Remove document?

    SDK Help
    0
    7
    586
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          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.....

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            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)....

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • H
                Helper
                last edited by

                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 ....

                1 Reply Last reply Reply Quote 0
                • H
                  Helper
                  last edited by

                  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!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post