Skip to content

Instantly share code, notes, and snippets.

@fereria
Created February 24, 2014 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fereria/f4219b7cd584ad459b00 to your computer and use it in GitHub Desktop.
Save fereria/f4219b7cd584ad459b00 to your computer and use it in GitHub Desktop.
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