Hello!
I know there is
already a post with the same title in the python forum, but 1. I'm not using python and 2. the solution given there doesn't work anymore.
I made a plugin that separates the opened FBX into several FBX files. To do this, I used to do FbFbxManager::Selected = true with the previous SDK so that it saved only the selected objects.
With the new SDK I modified my code so that I now use FbApplication::FileSave(). In order to save only the selection, I added a FBFbxOptions and set the member SaveSelectedModelsOnly to true and both ShowFileDialog and ShowOptionsDialog to false. But it just doesn't work, I always have the FileDialog popup!!
What am I doing wrong??
Here is an example of what I'm doing:
// Select object.
FBSelectObjectsByNamespace("TKT", true);
// Set up save options.
FBFbxOptions fbxOpts(false);
fbxOpts.SaveSelectedModelsOnly = true;
fbxOpts.ShowFileDialog = false;
fbxOpts.ShowOptionsDialog = false;
// Save.
bSuccess = m_Application.FileSave(_filename, &fbxOpts);
BTW I'm using Mobu 2011 (64bits)