here is my code

def exportAnimation():
    dataForJson = getAnimData(startFrame,endFrame)
    path = cmds. internalVar (utd=True)
    filePath = str (path)+'animaton.VGdata'
    exportData = json.dumps ( dataForJson , sort_keys= True , 
ensure_ascii=True , indent= 2 )
    File = open( filePath, 'w')
    load = File.write (exportData) 
    
    """
    Here i need to create file writing progressBar
    """
    #craete progressBar
    gMainProgressBar = maya.mel.eval('$tmp = $gMainProgressBar')
    
    # need to show progress of writing 
     
    
    File.close()



-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/5603bdc6-6781-402e-a372-8cf4fa496bb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to