Need help

24 views
Skip to first unread message

Ravi Chandran

unread,
Apr 30, 2018, 3:47:32 PM4/30/18
to python_in...@googlegroups.com
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 ?


Please help me 

Justin Israel

unread,
Apr 30, 2018, 3:57:56 PM4/30/18
to python_in...@googlegroups.com
Hi, 

Please take a look at the rename command:

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 python_inside_m...@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages