Profile PictureErik Spellerberg

Fix Pasted for Maya

$0+
0 ratings

Maya is pretty bad when it comes to keeping the scene tidy. It is actively trying to create a mess and copy pasting is no exception.

When hitting Ctrl+V Maya adds the prefix "pasted__" to everything and makes it a chore to clean up names by hand and having to replace pasted materials with the originals if you paste within a scene where the material already existed.

For instance if your scene contains a material called "mat_concrete" and you copy and paste a model that's using it, you will now have a new material called "pasted__mat_concrete". FixPasted detects the original material and assigns it to every surface that uses the pasted version and then deletes the pasted copy. Other objects and nodes are renamed to remove the paste prefix.

The gif explains everything better than words.

Either create a shelf button with the entire code from the FixPasted.py file or drop it in your Maya script folder (...Documents/Maya/scripts on Windows) and run it using the python command:

import FixPasted
FixPasted.fixPasted()



$
Add to cart
Size
540 Bytes
Copy product URL
$0+

Fix Pasted for Maya

0 ratings
Add to cart