Found a way to rename static attribute, using AttributeAlias:
createNode transform -n "GRP";
addAttr -sn "name1" -ln "attributeAliasList" -bt "name2" -dt "attributeAlias";
setAttr ".name1" -type "attributeAlias" {"YilNeeloo","scaleY"} ;
But it works only in .ma file.
Similar code doesnt work if we run directly inside Maya. Why?
Anybody knows any way of renaming static attributes using AttributeAlias datatype?
Or any other way?