What's the joke?  i am pretty sure I have tried commenting this file
command and put only prints and it still failed... what the ... ??


On Oct 27, 3:43 pm, "kurian os ™ ®കോപ്പിയടിച്ചാല്©ഗോതമ്പുണ്ട!"
<[EMAIL PROTECTED]> wrote:
> Try This
>
> import maya.cmds as cmds
>
> def importImage(fileName, fileType):
>     #cmds.file( fileName, i=True );
>     print "I am here\n"
>     print fileName
>     return 1
>
> cmds.fileBrowserDialog( m=0, fc=importImage, ft='image',
> an='Import_Image', om='Import' )
>
>
>
> On Mon, Oct 27, 2008 at 9: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
>
> --
> സ്നേഹിക്കയില്ല ഞാന്‍
> നോവുമാത്മാവിനെ സ്നേഹിച്ചിടാത്തൊരു
> തത്വശാസ്ത്രത്തെയും
--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

  • ... sberger
    • ... kurian os ™ ®കോപ്പിയടിച്ചാല്©ഗോതമ്പുണ്ട!
      • ... sberger
      • ... sberger
        • ... jamsession
    • ... Shawn Patapoff
      • ... kurian os ™ ®കോപ്പിയടിച്ചാല്©ഗോതമ്പുണ്ട!
        • ... Shawn Patapoff
          • ... Sylvain Berger

Reply via email to