What methods would allow me to script OrientOnSrf command?

I need to orient a short line at several points on the surface not necessarily matching one of the surface FrameAt() plane axis.