I have problem in animating the centerpivot.
I.e, i have created a attribute "pivot" to change the "centerpivot" of an object with out pressing "insert" in keyboard.
I have written the below expression and applied it on a "polygon sphere" by adding custom attributes
such as "pivot"->for switching(On or Off)
and p_x,p_y,p_z are some other custom attributes i have added to vary the pivot of an object.
but its keying properly and when i switch "pivot" from "1" to "0" its animating randomly and total animation is collapsed.
I dont know what's wrong.
If any one find the solution, reply
move -a $x $y $z pSphere1.scalePivot pSphere1.rotatePivot;