Forum
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Removing : from node names 5 months 2 weeks ago #578

  • admin
  • admin's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 157
  • Thank you received: 20
This short python script will remove the :  that Maya adds when you bring in the objs.
import maya.cmds as cmds
nodes = cmds.ls();
for n in nodes:
    if cmds.objExists(n) and ':' in n:
        cmds.rename(n, n.replace(':', ''))
Last edit: by admin.
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.046 seconds