Horizons can be exported as:

  • N2D internal format: use the Data Import/Export module. The I/O Fortran subroutine smhzrw.f can be used to convert from the N2D format into your own format. (The subroutine smhzrw.f is located under <installation_path>/aux/source/ )