001.获取任意节点任意属性的变量名以及变量值
//create nurbsSphere
sphere;
//store nurbsSphereShape node
string $sel[] = `ls "*SphereShape*"`;
//list all the attributes of nurbsSphereShape node
listAttr -s $sel[0];
//output the spansU valuable
int $n = `getAttr ($sel[0]+".spansU")`;