Complex UV Layout in Maya
Over the last couple of years UV layout in Maya has changed for the better. In this course we're going to be taking a look at some of those changes as we UV map an entire character
# 1 16-07-2015 , 08:01 PM
Registered User
Join Date: Jul 2015
Posts: 1

Problem with importing Phyton scripts

It's a quite newbie question and it's about python but i feel it's more suitable here.
I was looking at a tutorial about corrective blend shapes and in that steps the author says i have to download a phyton script he uses for corrective blend shapes.

I downloaded the script and put it in the script folder of my user document files (...Documents\maya\2012-x64\scripts: to make sure it's correct) I also followed step by step the guide for installing the script.

Both by typing:

import extractDeltas

and the same code but with "performExtractDeltas" on the command field (set to Phyton) or using a custom shelf button (still with a "Phyton" command) it gives me this error:

# Error: AttributeError: 'module' object has no attribute 'extractDeltasDuplicateMesh' #


# Error: AttributeError: 'module' object has no attribute 'performExtractDeltas' #

By the way, a similar mistake happens when i try to install this tool for renaming mutiple objects at once:

# Error: RuntimeError: Can't find file '' #

I just don't understand what's the issue i have with python. Importing MEL scripts is totally fine but with Phyton i have the same damned problem.

Could this problem be related to the fact that my username has a spacebar between the two words i used?

Edit: O_o I don't know how it happened but the Rename Tool has suddenly started working. I swear today it didn't work at all. But i'm still getting problems with the blendshape script one.

Edit 2: I solved this. Unfortunately, the tutorial didn't specify that despite being a python plugin, you had to put MEL commands in the command line (or in the shelf editor) This was because the python were once two MEL scripts (a kind of DBZ fusion). I also tried this previously but didn't work. It didn't give me any error message so i thought it was an error but i found out that the script doesn't work with referenced models (SCREW user added image ) so it didn't work.

Last edited by Alessio; 17-07-2015 at 10:16 AM.
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads