After placing the script with all of my other scripts and sourcing it, the User Interface does not spawn when run(lines 30 to 49 in the MEL editor). No errors are reported in the MEL editor, and the script seems to execute all the way through based on the history window output, but nothing happens. Perhaps something is missing?
Update:
I looked more thoroughly through the script in it's current state (as of 9APR08) and found that the UI portion of the script had to be slightly re-written in order to spawn like so:
SRBstrechyIKWin;
global proc SRBstrechyIKWin()
{
if ((`window -ex SRBstrechyIKWin`) == true) deleteUI -window SRBstrechyIKWin;
window -title "Strechy IK"
-rtf false
-maximizeButton 0
SRBstrechyIKWin;
rowColumnLayout -nc 2;
button -c "strechyik" "Strechy IK";
button -c "strechySik" "Strechy IK Spline";
showWindow;
}
Aside from formatting differences and settings, the currently posted version of this script is basically missing the beginning declaration "SRBstrechyIKWin;". The UI now spawns correctly, and the complete script runs with no errors.
SRB - StretchyIK 0.2.0 for Maya (maya script)
Use this tool to create strechy IK
1-2 of 2
Previous
Next
Reviews Love it? Or maybe you want to share some creative ways you're putting this item to use.
Please confirm your email before commenting.