← Back to team overview

kicad-developers team mailing list archive

Python LAYER_PAIR parameter for EXCELLON_WRITER().BuildHolesList()

 

Hi,
I am developing a component database and documentation/production files 
generator tool for KiCad with MSEide+MSEgui:
https://sourceforge.net/projects/mseide-msegui/

The code is here:
https://gitlab.com/mseide-msegui/mseuniverse/tree/master/tools/kicad/bom

MSEkicadBOM uses pcbnew.py as interface to pcbnew. In pcbnew.py there is 
a "BuildHolesList()" function with the signature "EXCELLON_WRITER self, 
LAYER_PAIR aLayerPair, bool aGenerateNPTH_list".

How must the LAYER_PAIR type parameter be defined in Python?

Thanks, Martin


Follow ups