how to change position of pivot of object?

hi all. i wanat chang pivot of object i know how to change pivot to 3d studio max . but i want when run program i can change the position of pivot (position and rotation)
?please help me:-|

If you are trying to do this with scripts I thinkit would be
Objectname.localRotation.x/y/z

If you are just trying to rotate an object you can try the transform.

You can set the pivot from 3ds max and then you have that pivot on unity just switch from center to pivot on high left of Unity3D near to local/global