Namespace detection, and file load time display

Two little questions here,

Firstly, I'm having a hard time find a quick and easy way to list all created namespaces within a scene.
I've put together a rough hack that selects everything in the scene and tokenizes for the colon, but it seems a bit silly for something so simple.

Second point is a script I've knocked up that imports a few objects after another, and each one gives its own 'File loaded in xx seconds', etc. Was wondering if there was a toggle to turn it off :

Cheers

namespaces in maya are REALLY badly implemented in MEL in my opinion. I've knocked together a script that will allow you to work with the much easier. its called zooNameSpacey. its a complete namespace management script, but if you want to use it in other scripts, feel free.

to list all namespaces in a scene, us this command:

zooNameSpaceyGetRecursedSpaces ":";

basically this function will return all children namespaces of the given namespace. so in this case, passing it just the root namespace, lists all namespaces in teh scene.

there are heaps of other useful procs in the script, so feel free to have a look, and rip it apart as you see fit.