Skip to content

ai12989757/oneLiner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OneLiner

Simple Renamer Tool for Maya

English|简体中文

UI

image.png

ENV

  • windows
  • python2.x|python3.x
  • PySide2
  • maya2017+
  • pymel

To be optimized

  • fix listView szie
  • support maya auto rename preview
  • add gif tips
  • Set hotkeys in the pop-up window during installation

Tutorials

Installation

  • Download and unzip the oneLiner.zip
  • Drag and drop the "studiolibrary/install.mel" file onto the Maya viewport
  • in the pop-up window, set the hotkeys and click "OK" to finish the installation 11.gif

Details

Simple

  • select object run the script,Enter text

01.gif

> Find and replace
  • "oldName">"newName" (without quotes)

03.gif

USE ! # @
  • ! old name

02.gif

  • # numbering based on selection, add more # for more digits

01.gif

  • @ alphabetical numbering based on selection

04.gif

/s /h selected/hierarchy
  • /s selected only (this is default, you dont have to type this)
  • /h add items from all hierarchy descendants of selected items

05.gif

+ - -- remove first or last character(s)
  • +num +(amount of characters to remove) = removes specific amounts of characters from first character
  • -num -(amount of characters to remove) = removes specific amounts of characters from last character
  • --num Delete to leave only

06.gif

f: fs: fe: Additional tool
  • f: xxx at the start of the text to find objects within desired characters
  • fs: xxx at the start of the text to find objects that ends with the desired characters
  • fe: xxx at the start of the text to find objects the starts with the desired scharacters

07.gif

Right click Show Tips

Thanks

License

MIT