Return filename with dialog

Return filename with dialog

addisonYMRCW
Explorer Explorer
517 Views
2 Replies
Message 1 of 3

Return filename with dialog

addisonYMRCW
Explorer
Explorer

I'm coming from Maya, where you can use the fileDialog2 option to return a path and filename, then load it however you need to.  How would you do this in Motionbuilder?   I have a custom file that I need to load with a plugin script, but would like for the user to browse for the file needed.  I looked into Tkinter and easygui, but those modules aren't available sadly.

0 Likes
518 Views
2 Replies
Replies (2)
Message 2 of 3

vdebaie
Advocate
Advocate

There is a script that comes with motionbuilder, FBFilePopup.py

 

You can find the contents of the file hosted here on Autodesk.com:

http://download.autodesk.com/us/motionbuilder/sdk-documentation/SDKSamples/Scripts/UI/FBFilePopup.ht...

 

This should help 

 

0 Likes
Message 3 of 3

brissef2
Autodesk
Autodesk

@addisonYMRCW ,

 

Was the reply above answered your question?

 

Best regards,

Francis

0 Likes