Skip to content

Instantly share code, notes, and snippets.

@coxevan
Created April 13, 2015 18:58
Show Gist options
  • Save coxevan/aaeb6f12447ff8dfabd3 to your computer and use it in GitHub Desktop.
Save coxevan/aaeb6f12447ff8dfabd3 to your computer and use it in GitHub Desktop.
def my_method( objects = [], dh = True, freeze = ( None, None, None ) ):
if not objects:
# Get selected objects
pass
if dh:
# Delete history
pass
if freeze == True:
#hard coded freeze all
pass
else:
# freeze passed in transforms
cmds.makeIdentity( t=freeze[0], r=freeze[1], s=freeze[2] )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment