You are right, but this is not affect the code rename just get new name not new path i used exportAll flag and it works fine
btw, thanks for the point On Thu, Jul 21, 2016 at 3:13 PM, Cesar Saez <[email protected]> wrote: > If I recall correctly, windows paths uses \ instead of /... try replacing > the path by: dir_path = r"C:\test\test.ma" > Notice the r character before starting the string, this means it's a raw > string (\ is a escape character), if you don't want to use a raw string you > will need to use something like "C:\\test\\test.ma". > > Cheers! > > -- > 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/CAPamJi_YPKxA1vXX0P5kXrtY6ERTXidCJcULKJQvj8vNo_273Q%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAPamJi_YPKxA1vXX0P5kXrtY6ERTXidCJcULKJQvj8vNo_273Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Bests, madoodia -- 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/CADvbQwJj3fBmLwOGkXRUNACU722Z9B-d8xxKbrDLF5jpeXz5JA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
