On 26/10/2015 at 05:30, xxxxxxxx wrote:
Cinema 4D Version: 17
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
We have some c++ code that exports the current scene into an OBJ file.
This has worked fine under R14-16, but with R17 it now fails.
Initially we thought it was an SDK issue (we build against R14) but after testing this by updating to the R17 API we still have the same problem.
The call we use is SaveDocument()
Param 1: Polygonized version of the current scene. GetActiveDocument()- >Polygonize()
Param 2: Filename structure initialised to the path to export to.
Param 3: Flags SAVEDOCUMENTFLAGS_AUTOSAVE|SAVEDOCUMENTFLAGS_DONTADDTORECENTLIST
Param 4 Format flag **FORMAT_OBJEXPORT
** I'm not sure why this fails under R17, but it would be good to know if we are doing it incorrectly now (for R17) or if it's just broken.
The call to SaveDocument simply returns false.
Thanks for any help in advance!
On 27/10/2015 at 03:11, xxxxxxxx wrote:
this is a known problem. With the new OBJ im-/export in R17 the plugin ID for the im-/export slipped through. A bugreport is already posted. Please see this thread OBJ export in R17 for the solution.
On 27/10/2015 at 04:00, xxxxxxxx wrote:
Thanks for the head up Andreas, and apologies for asking an already asked question - evidently my forum search skills are not good enough yet!
On 27/10/2015 at 04:01, xxxxxxxx wrote:
no problem, don't worry.