I am taking a class right now where we are doing some simple scripting. The assignment for this script was to make something where if you migrate files to another folder you could update your paths to reflect the new location by searching an replacing the path, of all files or selected ones. before I go on here is my code…
I figured out where I may have an issue. I had been testing this in Maya 2010, and my instructor told me that Maya 2011 will not rename paths that don't exist, apparently this behaviour is the same in 2010 it seems and maybe earlier. Trying my script on actual file names like MoP did works fine but this was intended as…