I don't know about setting the position, but if you want to get the position of a vehicle, you can do
(Celestial)vehicle.Orbit.Parent.GetCci2Ccf() * vehicle.GetPositionCci();
Or to get GPS coords you can do:
// Return GPS position as (latitude [radians], longitude [radians], altitude [meters])...