you see a star next to presets text?
but they are right there in the default presets folder in the installation path.
Well, that in itself does not mean anything for Maya. You should always try to ask Maya what it considers the folders in question and whats possibly wrong (Maya 2011 may indeed have some serious issues with XP by the way). Now run:
{
string $ntype = nodeType "mia\_material\_x1"
; //your node name in quotes please
string $fpath = getenv "MAYA\_LOCATION"
;
$fpath = $fpath + "/presets/attrPresets/" + $ntype;
print $fpath;
}
With obviously changing the name in quotes. And you should get the path that maya considers valid, if it does not match with your assumed path then that is the problem. If this path makes sense then make sure you have right read acces to those folders. For example you could do:
{
string $ntype = nodeType "mia\_material\_x1"
; //your node name in quotes please
string $fpath = getenv "MAYA\_LOCATION"
;
$fpath = $fpath + "/presets/attrPresets/" + $ntype + "/";
print(getFileList -folder $fpath
);
}
now if you dont get a list of mel files then you have a disk permission problem configure your operating system to give your maya access to the folder. Now if the mel are there check that they are valid, ie try running, or by manual inspection:
{
string $ntype = nodeType "mia\_material\_x1"
; //your node name in quotes please
string $fpath = getenv "MAYA\_LOCATION"
;
$file = $fpath + "/presets/attrPresets/" + $ntype + "/Water.mel"; // or other appropriate file
eval("source \""+$file+"\"");
}
if this says // Error: file: .... Then your problem is in the files themselves. Then last check that the files contain something as seen by maya. so go:
{
string $ntype = nodeType "mia\_material\_x1"
; //your node name in quotes please
string $fpath = getenv "MAYA\_LOCATION"
;
$file = $fpath + "/presets/attrPresets/" + $ntype + "/Water.mel"; // or other appropriate file
$fileId=fopen $file "r"
;
string $s;
$s=fread $fileId $s
;
print( $s + "\n" );
fclose $fileId;
}
check that maya echoes the contents of said file. Now your permissions are checked. Not a os problem. Next chek your maya environment:
whatIs AEshowPresetMenu;
should show Result: Mel procedure found in: yada yada Chek that yada yada is indeed in your maya install directory and that the timestamp of that file is same as all other files in directory. If not then you have a broken maya install or thord party broken preset manager rename the file and try again.
That should be a start for ebugging the problem.