Profiling code.

I’ve been wondering lately, when it comes to finding nodes in a scene, nodes which may or may no exist, which will be faster? using a Try, Except? or using maya’s built in objExists command? My theory was that the Try, Except would be faster as objExists would have to loop over all nodes in […]

Removing unknown nodes from your scene

I’ve recently found myself working in files with which a co-worker has used a plugin which I don’t have. Said plugin has created nodes which my version of Maya does not recognize, so on load I get the classic error raised : Through dealing with this I’ve developed a solution: Find and delete said nodes!….. […]