hi there,
I am using MB2015 and I want to use the FileOpen and FileMerge with the options dialogue.
LOAD_UI = True lapp = FBApplication() lapp.FileOpen(path,LOAD_UI)
I am wondering how do i get the Element all checked with 'Append' or 'Merge' by default instead of not checked at all as shown in the pictures below.
Thanks
Hi,
please check a documentation page - http://docs.autodesk.com/MB/2014/ENU/MotionBuilder-SDK-Documentation/files/GUID-9CA39221-DEDB-4355-A...
Thanks for the reply. I didn't use the load option because once I use it, I don't get to see the option dialogue anymore for some reasons. Do you have the same problem?
lapp = FBApplication() load_options = FBFbxOptions(True) load_options.SetAll(FBElementAction.kFBElementActionAppend, False) lapp.FileOpen(path, True, load_options)
No luck. Juct checked the history, they are all AppendElement. I removed the config folder from the path you given and restart MB, the Elements in dialogue box still are not checked if it is called by script. FileOpen(path , True)
I tried MB2013, 2014, and 2015, once I used the load options, the dialogue box will be skipped.
The only difference I see in MB 2013 is the elelments are all checked by default with the command FileOpen(path , True)
Any suggestions? Should this be reported?
Thanks!
lapp.FileOpen(path, True, load_options)
The dialogue box will not appear If I add load_options flag for the third paramenter, the second paramenter is to load the UI, so I put True.
There was an interesting found this morning. I got the dialogue box appear with elements all checked with Append when I opened one particular fbx file dated in 2012, probably created by MB2013 or earlier. So somehow the fbx file itself determines the behavior of the dialogue box, all fbxs created in mb2015 have failed to open with dialogue box, can anyone explain this?
Can't find what you're looking for? Ask the community or share your knowledge.