>From what I can piece together it seems like the general flow of translating code is as follows?
PyMel doc for exportAll() def exportAll(exportPath, **kwargs): """ Export everything into a single file. Returns the name of the exported file. Flags: - force: Force an action to take place. (new, open, save, remove reference) Used with removeReference to force remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the root namespace. - preserveReferences: When used with the import/export flags this tells the importer/exporter to import/export references as references instead of copies of those references. - type: Set the type of this file. By default this can be any one of: "mayaAscii", "mayaBinary", "mel", "OBJ", "directory", "plug-in", "audio", "move", "EPS", "Adobe(R) Illustrator(R)", "image" plug-ins may define their own types as well.Return a string array of file types that match this file. Derived from mel command `maya.cmds.file` """ pass Lookup maya.cmds.file in Pythons Command Reference to find the flag types [force=boolean] [preserveReferences=boolean] [type=string] PyMel code translation exportAll( "exportFileName", preserveReferences=1, force=1, type="mayaAscii") exportPath argument doesn't have a type specified anywhere, string type simply implied by argument name. -- 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 python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/cce486c3-a5cc-4514-8366-84539de5668e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.