CloseDocument ?

  • Hi,

    c4d.documents.KillDocument(doc) immediately closes a document without any checks

    There is no c4d.documents.CloseDocument()

    How would you close a document with the normal check and warning for changes that might be wanted to be saved first ?

    best, Index

  • Just check it manually:

            if currDoc.GetChanged() :
            else :
                c4d.documents.KillDocument(currDoc) # works but ignores change status

Log in to reply