Maybe I'm doing it wrong, but I tried "maya" as a command, but it also says it does not exist?
try assignSG as a command, it doesnt work unless you have already assigned a shader to a piece of geomtery. I tried looking for help on it but it doesnt even exist in the documentatino but if you turn on "Echo All Commands" in the script editor it's there and maya uses it to assign the shading group. So once you've assigned something it will work (but there's still no help for it!)
Why does Maya have such crappy documentation?! Has this been addressed in maya 5? I looked at the Max 5 documentation and it kicks ass over the maya one! There's loads of tutorials from rigging to animation to particles to whatever you want! I wish alias would sort it out! oh and the MEL interface but that's a whole other kettle of fish!
Alan
Technical Director - Framestore
Currently working on: Your Highness
IMDB