MikeRhone
01-28-2004, 03:44 AM
Im using a UI builder to create a UI with a picture in the Background of my window. Here is the code:
//--created with uiDesigner_v0.1--//
window ;
formLayout myUIFormLayout ;
//--Create Controllers--//
picture -image "C:\Documents and Settings\Administrator\My Documents\maya\4.5\prefs\icons\swUser2.bmp" -w 100 -h 32 "picture1" ;
//--Arrange Controllers--//
formLayout -e
-af "picture1" "left" 222
-af "picture1" "top" 124
myUIFormLayout ;
showWindow ;
And here is the error:
// Error: Image open failed: C:Documents and SettingsAdministratorMy Documentsmaya4.5prefsiconsswUser2.bmp //
The \ slashes are being lost somehow I guess.... Anyone know why this is happening, or better yet, how to fix it?
This error happens on both Maya 4.5 and Maya 5.
Mike R
//--created with uiDesigner_v0.1--//
window ;
formLayout myUIFormLayout ;
//--Create Controllers--//
picture -image "C:\Documents and Settings\Administrator\My Documents\maya\4.5\prefs\icons\swUser2.bmp" -w 100 -h 32 "picture1" ;
//--Arrange Controllers--//
formLayout -e
-af "picture1" "left" 222
-af "picture1" "top" 124
myUIFormLayout ;
showWindow ;
And here is the error:
// Error: Image open failed: C:Documents and SettingsAdministratorMy Documentsmaya4.5prefsiconsswUser2.bmp //
The \ slashes are being lost somehow I guess.... Anyone know why this is happening, or better yet, how to fix it?
This error happens on both Maya 4.5 and Maya 5.
Mike R
