Thanks guys, but the main problem is that we have (and probably will have) lots of scripts that call createNode and shadingNode commands both from MEL and Python. In our case we'd like to override the attributes of shading nodes, so there are already at least 4-5 different Maya UI scripts that can create them from the GUI. I could track these down and inject our housekeeping code and override the node creation commands too, *but* it would require constant migration of these scripts to new Maya versions and also monitoring user scripts. Not the direction I would like to go if there is another option...
Cheers, Szabolcs -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/450216e1-d606-41d4-86fa-c3c95b8d8184%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
