Hi all,
I use maya2013,
here is my test case:
defaultPointLight(1, 1,1,1, 0, 0, 0,0,0, 1);//create pointlight1
addExtension -nt "pointLight" -ln "area_samples" -sn "sam" -at "long" -dv 16 -k true -s 1 -w 1;
getAttr "pointlight1.area_samples";//return 16
Then I save the scene to test.ma, close maya. Open maya again and open test.ma.
Then I try to get the value of pointLightShape1.area_samples, but the attribute doesn't exist at all.
getAttr "pointLightShape1.area_samples";
// Error: line 1: No object matches name: pointLightShape1.area_samples //
I'm confused that "pointlight1.area_samples" is not stored into file.
Could you tell me where is the problem?