icon Parent Shape

Download ml_parentShape.py

Revision 2
Last Update 2018-02-17
License MIT

Description

Reparent shape nodes to a different transform, or unparent shape nodes to a new transform.

Installation

Copy this file into your maya scripts directory, for example:

C:/Documents and Settings/user/My Documents/maya/scripts/ml_parentShape.py

Run the tool in a python shell or shelf button by importing the module, and then calling the primary function:

import ml_parentShape
ml_parentShape.ui()

Usage

For parenting shapes, select the child and then the parent, just as if you were parenting nodes normally, and run the command. For unparenting shapes, select any number of nodes and run the command, just as if you were unparenting nodes from a hierarchy.

Installation

Copy this file into your maya scripts directory, for example: C:/Documents and Settings/user/My Documents/maya/scripts/ml_parentShape.py Run the tool in a python shell or shelf button by importing the module, and then calling the primary function: import ml_parentShape ml_parentShape.ui()

Ui

[Parent Shape] : Parent shape of the first selected object to the second

Requirements

This script requires the ml_utilities module, which can be downloaded here: https://raw.githubusercontent.com/morganloomis/ml_tools/master/ml_utilities.py

UI Options

Parent shape of the first selected object to the second Right-click to create a shelf or hotkey

Revision History

Revision Date Note
1 2014-03-02 First publish.
2 2018-02-17 Updating license to MIT.