Python LAYER_PAIR parameter for EXCELLON_WRITER().BuildHolesList()


#1

Hi,
I am developing a component database and documentation/production files generator tool for KiCad with MSEide+MSEgui:


The code is here:

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

[edit: changed to working link, Joan]