Samples/Utilities/SetPropertyStaticIfPossibleOption.py
12 from pyfbsdk
import FBApplication, FBFilePopup, FBFilePopupStyle, FBFbxOptions
20 lFp.Caption =
"Select the fbx file:"
21 lFp.Style = FBFilePopupStyle.kFBFilePopupOpen
26 lOptions.ShowOptionsDialog =
True
31 lOptions.SetPropertyStaticIfPossible =
False
35 lFbxFilePath = os.path.join(lFp.Path,lFp.FileName)
37 lApp.FileOpen(lFbxFilePath,
True,lOptions)
42 lOptions.ShowOptionsDialog =
True
47 lOptions.SetPropertyStaticIfPossible =
False
53 del( lFbxFilePath, lOptions, lFp, lApp )
54 del( FBApplication, FBFilePopup, FBFilePopupStyle, FBFbxOptions )