On Tue, May 1, 2018, 7:47 AM Ravi Chandran <[email protected]> wrote:
> Hi I have > > 1 to 40 apple_geo > > I want to rename them "apple_1" to "apple_FK_1_CON " > > > all of 40 apples ? > > > How to rename in python for maya ? > Hi, Please take a look at the rename command: http://help.autodesk.com/cloudhelp/2017/ENU/Maya-Tech-Docs/CommandsPython/rename.html There are examples at the bottom. Maya has a special case where if you do "name#" then it will expand # to the next number that makes the name unique. If you still have trouble, try and post the snippet of code so we can offer suggestions. Justin > > Please help me > > -- > 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/CAMgn%3DSb-kFAZo4sWEx5ayCKcD29SkGBFcqcq%2Bp0gEq-93VvAKQ%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAMgn%3DSb-kFAZo4sWEx5ayCKcD29SkGBFcqcq%2Bp0gEq-93VvAKQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAPGFgA38NtrkyApmXedmAM-BKVtJKoOq0zdfu6AXmFhF-OCpVA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
