Use the getAttr command. For example:
getAttr ball.scalePivot; // Result: 7.099792 7.984488 -4.93999 // getAttr ball.rotatePivot; // Result: 7.099792 7.984488 -4.93999 //
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License