Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmds.joint()
- cmds.addAttr( "joint1", ln="notes", sn="nts", dt="string" )
- cmds.setAttr( "joint1.notes","cmds.joint(n='newJoint')",typ="string" )
- notesAttrValue = cmds.getAttr( "joint1.notes" ) # Result: cmds.joint(n='newJoint') #
- def foo():
- notesAttrValue
- foo() # result >>>>> nothingggg
Advertisement
Add Comment
Please, Sign In to add comment