Output to custom file format

Hi,

I am interested in taking height field data and outputting it to a custom file format. Can anyone point me to sample code or an example of this? Also, is there additional documentation w.r.t. plugin development beyond the 4 page PDF that came with the PDK download?

Thanks,
Buzzy