KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sch_api_save.cpp File Reference
#include <api/sch_api_save.h>
#include <base_screen.h>
#include <kiplatform/io.h>
#include <pgm_base.h>
#include <project.h>
#include <project/project_file.h>
#include <sch_io/sch_io.h>
#include <sch_io/sch_io_mgr.h>
#include <sch_screen.h>
#include <sch_sheet.h>
#include <sch_sheet_path.h>
#include <schematic.h>
#include <settings/settings_manager.h>
#include <wildcards_and_files_ext.h>
#include <wx/filename.h>
#include <wx/log.h>

Go to the source code of this file.

Namespaces

namespace  SCH_API_SAVE
 

Functions

bool SCH_API_SAVE::SaveSheetToFile (SCH_SHEET *aSheet, SCHEMATIC &aSchematic, const wxString &aPath)
 Write a single sheet to disk via SCH_IO.
 
void SCH_API_SAVE::UpdateProjectFile (SCHEMATIC &aSchematic, PROJECT &aProject)
 Sync schematic metadata into the project file (.kicad_pro) and save it.
 
bool SCH_API_SAVE::SaveSchematic (SCHEMATIC &aSchematic, PROJECT &aProject)
 Save every screen in the hierarchy to its current path, then update the project file.
 
bool SCH_API_SAVE::SaveSchematicCopy (SCHEMATIC &aSchematic, PROJECT &aProject, const wxString &aFileName, bool aCreateProject)
 Save the root schematic to aFileName without changing the open document.