Here is the problem :
I created a mel script for exporting very lot of objects at the same time.
But I need to edit each Collada file and to replace the content of some line...
Problem is after exported the object I added a function for opening the exported file one more time and edit some lines after parsing of the content...
But...
Sometime the exporter doesn't have time to create the exported file and my script is already trying to edit the file content -__-...
Does someone knows how to freeze the script while one second or more when exporting an object...
or... how to detect the current object have been exported and I can edit it....
I did a research with "delay" "time" "wait" words in the Mel Scirpt documentation, but I didn't found anything for that...
This is strange because 3 years ago on a script I found something like that in the documentation...
I'm on Maya 2009.
Thank a lot for help.....
