I have been trying to write a simple python extension for PCBNew that will allow me to export a Spectra DSN file from KiCAD 5.1.8, and call the FreeRouting executable. According to the PCBNew doxygen docs, there is a function for this, however when I attempt to call this function from the python console, using the following two lines
import pcbnew
pcbnew.ExportSpecctraDSN()
I get the following error: AttributeError: 'module' object has no attribute 'ExportSpecctraDSN'
I looked through the pcbnew.py file that KiCAD installed, and there is no function pcbnew.ExportSpectraDSN(). Where can I locate this function?
@qu1ck
Ah, it is for the nightlies. That would explain it.
Probably should have a tag there, since the documentation that KiCAD 5.1 installs with itself has a link to doxygen.