Index: export_openems.c =================================================================== --- export_openems.c (revision 24883) +++ export_openems.c (revision 24884) @@ -164,7 +164,7 @@ pcb_mesh_t *mesh = pcb_mesh_get(MESH_NAME); if ((PCB != NULL) && (openems_attribute_list[HA_openemsfile].default_val.str_value == NULL)) - pcb_derive_default_filename(PCB->Filename, &openems_attribute_list[HA_openemsfile], suffix); + pcb_derive_default_filename(PCB->hidlib.filename, &openems_attribute_list[HA_openemsfile], suffix); if (mesh != NULL) { openems_attribute_list[HA_def_substrate_thick].default_val.coord_value = mesh->def_subs_thick;