Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/11/2012 at 02:37, xxxxxxxx wrote:
Hi people, I am trying to change the export settings of a SceneSaver. Is it possible to use MSG_RETRIEVEPRIVATEDATA as in this example from Yannik Puech:
BaseList2D* exporter; BasePlugin* plug = FindPlugin(1026370, PLUGINTYPE_SCENESAVER); if (plug && plug->Message(MSG_RETRIEVEPRIVATEDATA, &exporter;)) { BaseContainer *data = exporter->GetDataInstance(); data->SetLong(FBXEXPORT_ASCII, FALSE); data->SetLong(FBXEXPORT_BAKE_ALL_FRAMES, FALSE); .... SaveDocument(doc, "C:\\model.fbx", SAVEDOCUMENTFLAGS_DONTADDTORECENTLIST, 1026370); }
Or is there another way to change the settings?
Best regards, Satara
Reference: MSG_RETRIEVEPRIVATEDATA Example (C++)
On 06/11/2012 at 03:03, xxxxxxxx wrote:
Hi,
Unfortunately with Python it's currently not possible to send MSG_RETRIEVEPRIVATEDATA to the exporter and get its private data back.
On 06/11/2012 at 03:48, xxxxxxxx wrote:
Thanks for the fast reply. But does that mean that it is currently not possible to change the export settings?
On 06/11/2012 at 05:28, xxxxxxxx wrote:
Originally posted by xxxxxxxx Thanks for the fast reply. But does that mean that it is currently not possible to change the export settings?
Originally posted by xxxxxxxx
Yes, we can't currently change exporter settings in Python.
On 28/11/2012 at 02:34, xxxxxxxx wrote:
Is this possibly going to change at some point? Batch export seems to be a typical task for scripting...
On 28/11/2012 at 03:17, xxxxxxxx wrote:
Originally posted by xxxxxxxx Is this possibly going to change at some point? Batch export seems to be a typical task for scripting...
Hi Timm,
I agree this is an important issue. Developers are looking into it.
On 28/11/2012 at 09:49, xxxxxxxx wrote:
Hi Yannick,
that's great to hear! Thanks for the quick reply!
Timm