Adverti horiz upsell

Rename Commands 1.0.0 for Maya (maya script)

Very flexible and easy to use tool to rename objects in scenes.

License
Button download
151 Downloads

Compatibility

  • 2015, 2014, 2013, 2012, 2011, 2010, 2009

Operating Systems

  • Linux
  • Windows

History

Created:11/06/2014
Last Modified:11/06/2014
File Size: 4 KB

Keywords

maya, Rename

Here is a script that helps you to rename objects in Maya scenes.
It is powerful and flexible due to it commands.

Commands:   
+ append       
   +>      'to end       
   +<      'to start       
   +text  'after 'text' 
 

- replace/remove       
   ->#     'from end # characters     
   -<#     'from start # characters
= set

Specificators:   
#, #N     'number   
#T         'node type    

Format:
[cmd]=expr[;cmd=expr], where
cmd      'commands above
expr      'anything valid name with specificators (#, #N, #T)

Examples:   
=arm_#_joint       'template like arm_1_joint, arm_2_joint
-tail=L_tail_#       'replace 'tail' by L_tail_1, L_tail_2
-arm=                  'remove 'arm'
+>=_end              'appends '_end' to an end
->1=                    'remove last character from an end

Script works on selected objects!

You select pCube1, pCube2, pCube3 and then run the script:
-p=poly             'polyCube1, polyCube2, polyCube3
+>=_geo           'pCube1_geo, pCube2_geo, pCube3_geo
-<1=                  'Cube1_geo, Cube2_geo, Cube3_geo 

-p=poly;->1=_#_geo     'polyCube_1_geo, polyCube_2_geo, polyCube_3_geo 


Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.

People who favorited this item:

  • Matt-J-222
    Matt-J-222
  • Lyubomir Kalev
    Lyubomir Kalev