rudiHammad

Untitled

Jan 9th, 2016
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. cmds.joint()
  2. cmds.addAttr( "joint1", ln="notes", sn="nts", dt="string" )
  3. cmds.setAttr( "joint1.notes","cmds.joint(n='newJoint')",typ="string" )
  4. notesAttrValue = cmds.getAttr( "joint1.notes" ) # Result: cmds.joint(n='newJoint') #
  5.  
  6.  
  7. def foo():
  8.     notesAttrValue
  9. foo() # result >>>>> nothingggg
Advertisement
Add Comment
Please, Sign In to add comment