Could someone explain the installation of Python scripts?
I've created a simple script w/UI to lock joints during weight painting.
It has 2 procedures:
1) Open the UI - def pixl_jointLocker():
2) Execute a procedure to set the locked state of the joints - def lockEm():
All of the code works.
In my C:\Documents and Settings\Administrator\My Documents\maya\2010-x64\scripts\userSetup.py with this line:
import maya.cmds as cmds
I invoke the script with:
import pixl_jointLocker
pixl_jointLocker.pixl_jointLocker()
The interface appears.
I add joint names to the textFields, and I get:
# Error: NameError: line 1 of : name 'lockEm' is not defined #
I've also invoked the script with:
import pixl_jointLocker
pixl_jointLocker.pixl_jointLocker()
pixl_jointLocker.lockEm()
I get the same error.
