First some good news- I have a copy of Maya 6 somewhere as well. I bought it along time ago on educational discount, but Maya 7 was released days later so I got a free upgrade from Journey Ed and forgot all about the old box. If I can find the cd, I can get the older api stuff to build. Someone could also send me the just the dev files and .lib stuff for 6? (7 is installed though!)
The new scripts almost work

Few things though:
1) IME will export all the models in the scene so you only need to call it one time at the end of your script.
2) Right now you have it exporting to a second file so you get indigoxmlscene.xml and mesh_indigoxmlscene.xml. Have the script open and write to indigoxmlscene.xml, then close the file. Call IME once - just point it to indigoxmlscene.xml and it will append to it the mesh data for every model in the scene. Then have your script open the file again and write </scene> (which is the only closing tag I think it needs?). I could have IME add the final tag as well.
3) I could set up the exporter to write only a model at a time with an -m flag like:
indigoMeshExport -m "pSphere1" -d "C:\\some\\path\\goes\\here" -n "indigoxmlscene.xml" ;
Or even just part of the <mesh> data. Whatever you guys think will work best with the MTI script as it grows.
-shawn