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
    • Recent
    • Tags
    • Users
    • Login

    problem with exporting the document

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 388 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

      On 17/03/2014 at 02:04, xxxxxxxx wrote:

      _documents.SaveDocument(doc,"test export", c4d.SAVEDOCUMENTFLAGS_EXPORTDIALOG, c4d.FORMAT_OBJEXPORT)

      this used to work perfectly in R14, now in R15, i don't get the export dialog, it just exports some file in the project directory without any extension Confused
      _

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

        On 17/03/2014 at 16:04, xxxxxxxx wrote:

        Here is a snipet from my current project. Works for me.

        c4d.documents.SaveDocument(doc, Spath, c4d.SAVEDOCUMENTFLAGS_DONTADDTORECENTLIST,c4d.FORMAT_C4DEXPORT)
        

        Hope it helps.

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

          On 18/03/2014 at 01:35, xxxxxxxx wrote:

          it works only with C4DEXPORT, i need DXFEXPORT and it doesn't work. OBJEXPORT also doesn't show any dialog. 😞

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

            On 18/03/2014 at 03:50, xxxxxxxx wrote:

            hmm i found out that i must pass the c4d. SAVEDOCUMENTFLAGS_SAVEAS flag, but i'm sure this was not needed before R15

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