-
-
Save fereria/f4219b7cd584ad459b00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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