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

    Where can I find SAVEFLAG_AUTOSAVE ?

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 455 Views
    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 Offline
      Helper
      last edited by

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

      On 02/11/2011 at 13:36, xxxxxxxx wrote:

      Hello,

      Haven't used C4D in a while and in R12 some of the code got refactored.
      Before I would export use something like this to export an OBJ:

      import c4d 
      from c4d import *
      from c4d.documents import *
      from c4d import symbols as sy
        
      docPath = doc.GetDocumentPath()
      objPath = docPath+'/'+op.GetName()+'.obj'
      SaveDocument(doc,objPath,sy.SAVEFLAG_AUTOSAVE,sy.FORMAT_OBJEXPORT)
      

      The symbols package is gone in R12, and while in most cases I can replace sy with c4d
      in most of my scripts, I can't find SAVEFLAG_AUTOSAVE.

      Can anyone please tell me where will I find SAVEFLAG_AUTOSAVE to import it ?

      Thanks,
      George

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

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

        On 02/11/2011 at 14:20, xxxxxxxx wrote:

        Hi George,

        SAVEFLAG_AUTOSAVE has been renamed to SAVEDOCUMENTFLAGS_AUTOSAVE.

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

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

          On 02/11/2011 at 15:22, xxxxxxxx wrote:

          Hello Yannick,

          Thank you very much, that worked!

          I think I'm using old documentation ( v1.0.1002 ) ? 
          I've just downloaded the R13 documentation. 
          Might be better to have more recent documetation, even
          if I'm still using R12.

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

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

            On 03/11/2011 at 01:00, xxxxxxxx wrote:

            Originally posted by xxxxxxxx

            I think I'm using old documentation ( v1.0.1002 ) ? 
            I've just downloaded the R13 documentation. 
            Might be better to have more recent documetation, even
            if I'm still using R12.

            You can download the R12 Python SDK documentation at this page: http://www.maxon.net/en/support/other-sdk-downloads.html (direct link: <[URL-REMOVED]>).


            [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.

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