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

    OBJ export in R17 [SOLVED]

    PYTHON Development
    0
    4
    469
    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

      On 08/09/2015 at 05:06, xxxxxxxx wrote:

      Hi,

      In R16 I had this line of code:

      c4d.documents.SaveDocument(doc, 'myFile.obj' ,c4d.SAVEDOCUMENTFLAGS_0, c4d.FORMAT_OBJEXPORT)

      In R17 it doesn't work anymore (no file gets saved). Does anybody have a solution?

      Thanks!
      HW

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

        On 08/09/2015 at 05:20, xxxxxxxx wrote:

        Hi
        please download new pySDK for r17
        and look at sdk\17032\CINEMA4DR17032PYTHONSDKHTML20150902\examples\scripts\FileImportExport\ **export_OBJ.py
        ** and say thanks to Joey Gaspe

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

          On 08/09/2015 at 06:23, xxxxxxxx wrote:

          Thanks! Replacing "c4d.FORMAT_OBJEXPORT" with "1030178" did the trick!

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

            On 09/09/2015 at 05:00, xxxxxxxx wrote:

            Hi,

            we have filed a bug report, to get the constant working again in future revisions.

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