Hey guys, Coming from Softimage I'm a little confused by Maya's way of handling function declarations in scripts. In Soft, they're always local unless declared global using some SDK/API stuff.
It would appear that in Maya in any Python script (or MEL for that matter) a function declaration stays in memory and is accessible globally. I'm worried about overriding other people's or Maya's own functions if I don't give it very unique names. Is there some way to declare functions for local use by the main global function in the same script? Am I making sense? Cheers, -- Alan -- http://groups.google.com/group/python_inside_maya
