nwam_object_to_line
err = nwam_object_to_line(fp, objname, objlist);
if ((err = nwam_object_to_line(fp, currobjname,