Created
April 11, 2012 19:54
-
-
Save bohdon/2361959 to your computer and use it in GitHub Desktop.
bad node finder for pymel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pymel.core import * | |
for x in cmds.ls(r=True, l=True): | |
try: | |
PyNode(x) | |
except Exception as e: | |
print('bad node {0}: {1}'.format(x, e)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment