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

TOPIC:

Removing : from node names 2 years 11 months ago #578

  • admin
  • admin's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 207
  • Thank you received: 28
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.059 seconds