Lord_Venthor
04-05-2004, 05:31 PM
If got a problem with my first mel script which creates a basic GUI that shows some iconTextButtons.
After I created some buttons and attached an image to it, it's working fine when running the script. But after closing Maya and restarting it again, executing the same script, none of any images are displayed due to the warning:
"File XXX.bmp not found"
the iconTextButton command looks like that
iconTextButton
-style "iconOnly"
-image1 "POLYGONSPHERE.bmp"
-l "Sphere"
-ann "Polygon Sphere"
-doubleClickCommand "CreatePolygonSphereOptions"
-c "CreatePolygonSphere;";
I used the same iconfiles that were located in the \extras\icons directory.
I can only get the script working correct again, after I deleted the userPrefs.mel (and/or windowsPrefs.mel) files under
maya\5.0\prefs.
My Question: How can I get it to work again? I would be happy for any help you guys can provide me.
Thx in advance, Venthor.
After I created some buttons and attached an image to it, it's working fine when running the script. But after closing Maya and restarting it again, executing the same script, none of any images are displayed due to the warning:
"File XXX.bmp not found"
the iconTextButton command looks like that
iconTextButton
-style "iconOnly"
-image1 "POLYGONSPHERE.bmp"
-l "Sphere"
-ann "Polygon Sphere"
-doubleClickCommand "CreatePolygonSphereOptions"
-c "CreatePolygonSphere;";
I used the same iconfiles that were located in the \extras\icons directory.
I can only get the script working correct again, after I deleted the userPrefs.mel (and/or windowsPrefs.mel) files under
maya\5.0\prefs.
My Question: How can I get it to work again? I would be happy for any help you guys can provide me.
Thx in advance, Venthor.
