Index: trunk/src_plugins/io_pcb/file.c =================================================================== --- trunk/src_plugins/io_pcb/file.c (revision 31157) +++ trunk/src_plugins/io_pcb/file.c (revision 31158) @@ -521,6 +521,11 @@ arc->X - ox, arc->Y - oy, arc->Width, arc->Height, arc->StartAngle, arc->Delta, arc->Thickness); } + { + pcb_gfx_t *gfx; + for(gfx = gfxlist_first(&ly->Gfx); gfx != NULL; gfx = gfxlist_next(gfx)) + pcb_io_incompat_save(sc->data, (pcb_any_obj_t *)gfx, "element-obj", "gfx can not be exported in this format, please use lihata", "only lines and arcs are exported"); + } if (polylist_length(&ly->Polygon) > 0) { char *desc = rnd_strdup_printf("Polygons on layer %s can not be exported in an element", ly->name); pcb_io_incompat_save(sc->data, NULL, "element-obj", desc, "only lines and arcs are exported"); @@ -617,6 +622,11 @@ line->Point1.X, line->Point1.Y, line->Point2.X, line->Point2.Y, line->Thickness, line->Clearance, F2S(line, PCB_OBJ_LINE)); } + { + pcb_gfx_t *gfx; + for(gfx = gfxlist_first(&layer->Gfx); gfx != NULL; gfx = gfxlist_next(gfx)) + pcb_io_incompat_save(PCB->Data, (pcb_any_obj_t *)gfx, "gfx", "gfx can not be exported in this format", "please use the lihata format"); + } arclist_foreach(&layer->Arc, &it, arc) { rnd_fprintf(FP, "\tArc[%[0] %[0] %[0] %[0] %[0] %[0] %ma %ma %s]\n", arc->X, arc->Y, arc->Width,