Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Add AO attribute to sl
- from pymel.core import *
- sl = selected()
- for s in sl:
- attrCheck = hasattr(s,"miLabel")
- if not attrCheck:
- print "adding miLable to ",s
- addAttr(s, longName ="miLabel",at="short",defaultValue=0)
Advertisement
Add Comment
Please, Sign In to add comment