Skip to content

Instantly share code, notes, and snippets.

@splinecraft
Created March 1, 2019 23:47
Show Gist options
  • Save splinecraft/6344df6f7281309b03f822bc49f3b6ce to your computer and use it in GitHub Desktop.
Save splinecraft/6344df6f7281309b03f822bc49f3b6ce to your computer and use it in GitHub Desktop.
import maya.cmds as cmds
cursel = cmds.ls( sl=True )
for obj in cursel:
newname = obj.lower()
cmds.rename( obj, newname )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment