Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.01 KB

File metadata and controls

40 lines (28 loc) · 1.01 KB

Maya Attribute Resetter

A simple util for quickly resetting transform or other node attributes to their defaults in Maya.

Resetter is most useful in animation workflows, where you often want to reset a control to its default state without having to type in 0s and 1s in the channel box. Any transform node can be reset to its "zeroed-out" state without any setup, and special attributes (such as IKFK blend attributes) can have their default values stored on the node so that they are also restored when resetting a node to its default state.

Usage

Run the following to launch the Resetter UI:

import resetter
resetter.GUI()

Useful Commands

Store the current keyable values for the selected nodes as defaults:

import resetter
resetter.setDefaults()

Reset selected nodes using defined defaults or basic transform defaults:

import resetter
resetter.reset()

Reset selected nodes using only defined defaults:

import resetter
resetter.reset(useBasicDefaults=False)