in another version of Maya I'm getting this error cannot find AEfileTemplate procedure. I think @haiddasalami is right I have load texture through file dialog which I don't know.
Hi small error came I restarted maya and run this new script it does something (Didn't assign the material to the selected object as I expected ) But again when I run this command it worked perfectly why? string $mySel[] = `ls -sl`;string $myBlinn = `shadingNode -asShader blinn`;string $myFile = `createRenderNodeCB…