![]() |
KiCad Pcbnew Python Scripting
|

Public Member Functions | |
| "wxString const" | PluginName (self) |
| "wxString const" | GetFileExtension (self) |
| "void" | Save (self, "wxString" aFileName, "BOARD" aBoard, "PROPERTIES const *" aProperties=None) |
| "BOARD *" | Load (self, "wxString" aFileName, "BOARD" aAppendToMe, "PROPERTIES const *" aProperties=None, "PROJECT *" aProject=None, "PROGRESS_REPORTER *" aProgressReporter=None) |
| "BOARD *" | DoLoad (self, "LINE_READER" aReader, "BOARD" aAppendToMe, "PROPERTIES const *" aProperties, "PROGRESS_REPORTER *" aProgressReporter, "unsigned int" aLineCount) |
| "void" | FootprintEnumerate (self, "wxArrayString &" aFootprintNames, "wxString" aLibraryPath, "bool" aBestEfforts, "PROPERTIES const *" aProperties=None) |
| "FOOTPRINT const *" | GetEnumeratedFootprint (self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None) |
| "bool" | FootprintExists (self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None) |
| "FOOTPRINT *" | FootprintLoad (self, "wxString" aLibraryPath, "wxString" aFootprintName, "bool" aKeepUUID=False, "PROPERTIES const *" aProperties=None) |
| "void" | FootprintSave (self, "wxString" aLibraryPath, "FOOTPRINT" aFootprint, "PROPERTIES const *" aProperties=None) |
| "void" | FootprintDelete (self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None) |
| "long long" | GetLibraryTimestamp (self, "wxString" aLibraryPath) |
| "void" | FootprintLibCreate (self, "wxString" aLibraryPath, "PROPERTIES const *" aProperties=None) |
| "bool" | FootprintLibDelete (self, "wxString" aLibraryPath, "PROPERTIES const *" aProperties=None) |
| "bool" | IsFootprintLibWritable (self, "wxString" aLibraryPath) |
| def | __init__ (self, *args) |
| "void" | Format (self, "BOARD_ITEM" aItem, "int" aNestLevel=0) |
| "std::string" | GetStringOutput (self, "bool" doClear) |
| "void" | SetOutputFormatter (self, "OUTPUTFORMATTER" aFormatter) |
| "BOARD_ITEM *" | Parse (self, "wxString" aClipboardSourceInput) |
Public Member Functions inherited from pcbnew.PLUGIN | |
| def | __init__ (self, *args, **kwargs) |
| "wxString const" | PluginName (self) |
| "wxString const" | GetFileExtension (self) |
| "BOARD *" | Load (self, "wxString" aFileName, "BOARD" aAppendToMe, "PROPERTIES const *" aProperties=None, "PROJECT *" aProject=None, "PROGRESS_REPORTER *" aProgressReporter=None) |
| "std::vector< FOOTPRINT *,std::allocator< FOOTPRINT * > >" | GetImportedCachedLibraryFootprints (self) |
| "void" | Save (self, "wxString" aFileName, "BOARD" aBoard, "PROPERTIES const *" aProperties=None) |
| "void" | FootprintEnumerate (self, "wxArrayString &" aFootprintNames, "wxString" aLibraryPath, "bool" aBestEfforts, "PROPERTIES const *" aProperties=None) |
| "long long" | GetLibraryTimestamp (self, "wxString" aLibraryPath) |
| "void" | PrefetchLib (self, "wxString" aLibraryPath, "PROPERTIES const *" aProperties=None) |
| "FOOTPRINT *" | FootprintLoad (self, "wxString" aLibraryPath, "wxString" aFootprintName, "bool" aKeepUUID=False, "PROPERTIES const *" aProperties=None) |
| "FOOTPRINT const *" | GetEnumeratedFootprint (self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None) |
| "bool" | FootprintExists (self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None) |
| "void" | FootprintSave (self, "wxString" aLibraryPath, "FOOTPRINT" aFootprint, "PROPERTIES const *" aProperties=None) |
| "void" | FootprintDelete (self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None) |
| "void" | FootprintLibCreate (self, "wxString" aLibraryPath, "PROPERTIES const *" aProperties=None) |
| "bool" | FootprintLibDelete (self, "wxString" aLibraryPath, "PROPERTIES const *" aProperties=None) |
| "bool" | IsFootprintLibWritable (self, "wxString" aLibraryPath) |
| "void" | FootprintLibOptions (self, "PROPERTIES *" aListToAppendTo) |
| "wxArrayString" | footprintPyEnumerate (self, "wxString" aLibraryPath, "bool" aExitOnError) |
| def | FootprintEnumerate (self, libname) |
Properties | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Properties inherited from pcbnew.PLUGIN | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
| def pcbnew.PCB_PLUGIN.__init__ | ( | self, | |
| * | args | ||
| ) |
__init__(PCB_PLUGIN self, int aControlFlags=((1 << 3)|(1 << 8))) -> PCB_PLUGIN
Reimplemented from pcbnew.PLUGIN.
| "BOARD *" pcbnew.PCB_PLUGIN.DoLoad | ( | self, | |
| "LINE_READER" | aReader, | ||
| "BOARD" | aAppendToMe, | ||
| "PROPERTIES const *" | aProperties, | ||
| "PROGRESS_REPORTER *" | aProgressReporter, | ||
| "unsigned int" | aLineCount | ||
| ) |
| "void" pcbnew.PCB_PLUGIN.FootprintDelete | ( | self, | |
| "wxString" | aLibraryPath, | ||
| "wxString" | aFootprintName, | ||
| "PROPERTIES const *" | aProperties = None |
||
| ) |
FootprintDelete(PCB_PLUGIN self, wxString aLibraryPath, wxString aFootprintName, PROPERTIES const * aProperties=None)
Reimplemented from pcbnew.PLUGIN.
| "void" pcbnew.PCB_PLUGIN.FootprintEnumerate | ( | self, | |
| "wxArrayString &" | aFootprintNames, | ||
| "wxString" | aLibraryPath, | ||
| "bool" | aBestEfforts, | ||
| "PROPERTIES const *" | aProperties = None |
||
| ) |
FootprintEnumerate(PCB_PLUGIN self, wxArrayString & aFootprintNames, wxString aLibraryPath, bool aBestEfforts, PROPERTIES const * aProperties=None)
Reimplemented from pcbnew.PLUGIN.
| "bool" pcbnew.PCB_PLUGIN.FootprintExists | ( | self, | |
| "wxString" | aLibraryPath, | ||
| "wxString" | aFootprintName, | ||
| "PROPERTIES const *" | aProperties = None |
||
| ) |
FootprintExists(PCB_PLUGIN self, wxString aLibraryPath, wxString aFootprintName, PROPERTIES const * aProperties=None) -> bool
Reimplemented from pcbnew.PLUGIN.
| "void" pcbnew.PCB_PLUGIN.FootprintLibCreate | ( | self, | |
| "wxString" | aLibraryPath, | ||
| "PROPERTIES const *" | aProperties = None |
||
| ) |
FootprintLibCreate(PCB_PLUGIN self, wxString aLibraryPath, PROPERTIES const * aProperties=None)
Reimplemented from pcbnew.PLUGIN.
| "bool" pcbnew.PCB_PLUGIN.FootprintLibDelete | ( | self, | |
| "wxString" | aLibraryPath, | ||
| "PROPERTIES const *" | aProperties = None |
||
| ) |
FootprintLibDelete(PCB_PLUGIN self, wxString aLibraryPath, PROPERTIES const * aProperties=None) -> bool
Reimplemented from pcbnew.PLUGIN.
| "FOOTPRINT *" pcbnew.PCB_PLUGIN.FootprintLoad | ( | self, | |
| "wxString" | aLibraryPath, | ||
| "wxString" | aFootprintName, | ||
| "bool" | aKeepUUID = False, |
||
| "PROPERTIES const *" | aProperties = None |
||
| ) |
FootprintLoad(PCB_PLUGIN self, wxString aLibraryPath, wxString aFootprintName, bool aKeepUUID=False, PROPERTIES const * aProperties=None) -> FOOTPRINT
Reimplemented from pcbnew.PLUGIN.
| "void" pcbnew.PCB_PLUGIN.FootprintSave | ( | self, | |
| "wxString" | aLibraryPath, | ||
| "FOOTPRINT" | aFootprint, | ||
| "PROPERTIES const *" | aProperties = None |
||
| ) |
FootprintSave(PCB_PLUGIN self, wxString aLibraryPath, FOOTPRINT aFootprint, PROPERTIES const * aProperties=None)
Reimplemented from pcbnew.PLUGIN.
| "void" pcbnew.PCB_PLUGIN.Format | ( | self, | |
| "BOARD_ITEM" | aItem, | ||
| "int" | aNestLevel = 0 |
||
| ) |
| "FOOTPRINT const *" pcbnew.PCB_PLUGIN.GetEnumeratedFootprint | ( | self, | |
| "wxString" | aLibraryPath, | ||
| "wxString" | aFootprintName, | ||
| "PROPERTIES const *" | aProperties = None |
||
| ) |
GetEnumeratedFootprint(PCB_PLUGIN self, wxString aLibraryPath, wxString aFootprintName, PROPERTIES const * aProperties=None) -> FOOTPRINT
Reimplemented from pcbnew.PLUGIN.
| "wxString const" pcbnew.PCB_PLUGIN.GetFileExtension | ( | self | ) |
GetFileExtension(PCB_PLUGIN self) -> wxString
Reimplemented from pcbnew.PLUGIN.
| "long long" pcbnew.PCB_PLUGIN.GetLibraryTimestamp | ( | self, | |
| "wxString" | aLibraryPath | ||
| ) |
GetLibraryTimestamp(PCB_PLUGIN self, wxString aLibraryPath) -> long long
Reimplemented from pcbnew.PLUGIN.
| "std.string" pcbnew.PCB_PLUGIN.GetStringOutput | ( | self, | |
| "bool" | doClear | ||
| ) |
| "bool" pcbnew.PCB_PLUGIN.IsFootprintLibWritable | ( | self, | |
| "wxString" | aLibraryPath | ||
| ) |
IsFootprintLibWritable(PCB_PLUGIN self, wxString aLibraryPath) -> bool
Reimplemented from pcbnew.PLUGIN.
| "BOARD *" pcbnew.PCB_PLUGIN.Load | ( | self, | |
| "wxString" | aFileName, | ||
| "BOARD" | aAppendToMe, | ||
| "PROPERTIES const *" | aProperties = None, |
||
| "PROJECT *" | aProject = None, |
||
| "PROGRESS_REPORTER *" | aProgressReporter = None |
||
| ) |
Load(PCB_PLUGIN self, wxString aFileName, BOARD aAppendToMe, PROPERTIES const * aProperties=None, PROJECT * aProject=None, PROGRESS_REPORTER * aProgressReporter=None) -> BOARD
Reimplemented from pcbnew.PLUGIN.
| "BOARD_ITEM *" pcbnew.PCB_PLUGIN.Parse | ( | self, | |
| "wxString" | aClipboardSourceInput | ||
| ) |
| "wxString const" pcbnew.PCB_PLUGIN.PluginName | ( | self | ) |
PluginName(PCB_PLUGIN self) -> wxString
Reimplemented from pcbnew.PLUGIN.
| "void" pcbnew.PCB_PLUGIN.Save | ( | self, | |
| "wxString" | aFileName, | ||
| "BOARD" | aBoard, | ||
| "PROPERTIES const *" | aProperties = None |
||
| ) |
Save(PCB_PLUGIN self, wxString aFileName, BOARD aBoard, PROPERTIES const * aProperties=None)
Reimplemented from pcbnew.PLUGIN.
| "void" pcbnew.PCB_PLUGIN.SetOutputFormatter | ( | self, | |
| "OUTPUTFORMATTER" | aFormatter | ||
| ) |
|
static |