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 ™ ®കോപ്പിയടിച്ചാല്©ഗോതമ്പുണ്ട!
    • ... Shawn Patapoff
      • ... kurian os ™ ®കോപ്പിയടിച്ചാല്©ഗോതമ്പുണ്ട!
        • ... Shawn Patapoff
          • ... Sylvain Berger

Reply via email to