Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/bohdon/maya-resetter

a util for easily resetting transform or other node attributes to their defaults in Maya
https://github.com/bohdon/maya-resetter

Last synced: 3 months ago
JSON representation

a util for easily resetting transform or other node attributes to their defaults in Maya

Lists

README

        

# 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.

## Installation

Download the [latest release](https://github.com/bohdon/maya-resetter/releases/latest) and unzip the contents into your `~/Documents/maya/modules` folder.

Run the following to launch the Resetter GUI:

```python
import resetter
resetter.GUI()
```

## Main Commands

Here are some of the main commands that make useful shelf buttons or hotkeys.

```python
import resetter

# store the selected nodes current keyable values as their defaults
resetter.setDefaults()

# reset selected nodes using defined defaults or basic transform defaults
resetter.reset()

# reset selected nodes using only defined defaults
resetter.reset(useBasicDefaults=False)
```

## Version 2.3.0 (2017-05-26)
- Created standalone project for resetter

## Version 2.2.0 (2012-04-01)
- Much improved api
- General organization and simplification

## Version 2.1.2 (2012-03-16)
- Rewritten in python
- Added ability to set defaults from selected channel box attributes
- Supports referencing and renaming
- Smart and Xform modes added
- Popup menus to add each function to the current shelf
- Includes listing, resetting, and removing of defaults
- Adds a default string to selected objects for restoring attributes