Create a gist now

Instantly share code, notes, and snippets.

Embed
def UnlockTransformNode(node):
attrList = ["tx","ty","tz","rx","ry","rz","sx","sy","sz","v"]
for attr in attrList:
node.attr(attr).set(k=True,l=False)
def UnlockTransformNodeSelection():
select = pm.ls(sl=True,fl=True)
for sel in select:
UnlockTransformNode(sel)
UnlockTransformNodeSelection()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment