BasicOperations/FBFbxOptions.py
16 SOURCE_SCENE_PATH =
"multiple_elements_scene.fbx"
17 SAVE_SCENE_PATH =
"single_elements_scene.fbx"
18 NO_LOAD_UI_DIALOG =
False
19 OPTION_USED_FOR_LOADING =
True
20 OPTION_USED_FOR_SAVING =
False
24 def CreateDummyScene():
31 app.FileSave(SOURCE_SCENE_PATH)
45 options.Characters = FBElementAction.kFBElementActionDiscard
48 options.CameraAnimation =
False
51 app.FileOpen(SOURCE_SCENE_PATH, NO_LOAD_UI_DIALOG, options)
58 options.SetAll(FBElementAction.kFBElementActionDiscard,
False)
61 options.Actors = FBElementAction.kFBElementActionSave
62 options.ActorAnimation =
True
65 options.UseASCIIFormat =
True
67 app.FileSave(SAVE_SCENE_PATH, options)