OBJ export in R17 [SOLVED]



  • 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



  • 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



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

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



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


Log in to reply