Moving pivot in one axis not working

This works: 

move -x 0 -y 0 -z 0 pCube.scalePivot pCube.rotatePivot ;

This doesn't: 

move -x 0 pCube.scalePivot pCube.rotatePivot ; 

It throws the error: Invalid argument: pCube.scalePivot

I've even tried copying everything from when echo all commands is on and it still throws that error. 

Yes they are not actually transforms so you must be fully qualified triplet, they are sort of aliases you can move*. Firt querry then assign.

*admittedly this is a design oversight.

Thanks for the reply Joojaa. How would I querry it? I couldn't get the query flag to work. 

What's weird is when it's echoed in the script editor it is using one axis flag but throws an error when I try to. 

use the xform command

Thanks Joojaa. I was able to easily write several useful scripts after looking into xform.:slight_smile: