now it works well ... in the script editor. The fun part begins, making it work in a real script using classes and everything... fun!
2008/10/27 Shawn Patapoff <[EMAIL PROTECTED]> > Alias has basically stated in their forums that fileBrowserDialog is for > windows only. > > 2008/10/27 kurian os ™ (R)കോപ്പിയടിച്ചാല്(c)ഗോതമ്പുണ്ട! <[EMAIL PROTECTED]> > > Yes i am using windows ... and i didn't try in linux .. but it should want >> to work ?? >> do you getting any error ?? >> >> On Mon, Oct 27, 2008 at 9:44 PM, Shawn Patapoff <[EMAIL PROTECTED]>wrote: >> >>> Which OS are you trying it with. As far as I know it's only suppose to >>> work in Windows. >>> >>> >>> On Mon, Oct 27, 2008 at 12:29 PM, sberger <[EMAIL PROTECTED]>wrote: >>> >>>> >>>> Anyone found out how to make the fileBrowserDialog work in python? >>>> >>>> The example in the maya python docs is not working. >>>> >>>> import maya.cmds as cmds >>>> >>>> def importImage( fileName, fileType): >>>> cmds.file( fileName, i=True ); >>>> return 1 >>>> >>>> cmds.fileBrowserDialog( m=0, fc='importImage', ft='image', >>>> an='Import_Image', om='Import' ) >>>> >>>> All the solutions I found on the net are not working. >>>> >>>> Thanks >>>> >>>> >>> >>> >>> >> >> >> -- >> സ്നേഹിക്കയില്ല ഞാന് >> നോവുമാത്മാവിനെ സ്നേഹിച്ചിടാത്തൊരു >> തത്വശാസ്ത്രത്തെയും >> >> >> > > > > -- They say, "Evil prevails when good men fail to act." What they ought to say is, "Evil prevails." Nicolas Cage as Yuri Orlov in Lord of War. --~--~---------~--~----~------------~-------~--~----~ Yours, Maya-Python Club Team. -~----------~----~----~----~------~----~------~--~---
