PyMel attribute state


#1

How to get attrubtes state(locked/unlocked) using node.attributes.get() command?
eg


PyNode('pSphere').translate.get(lock=1)

It always returns False.
I can use getAttr but I like Pymel because of one of its awesome feature - short code :slight_smile:


#2
PyNode('pSphere').translate.isLocked()

Have a look at the conveniant methods with:

dir(PyNode('pSphere').translate)

#3

Thank you!

Wow dir() is a great!!!