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++)