Hi,
kicad-4.0.6-x86_64.exe, installed on Windows 7, shows the attached error
message with the attached script. Is it a KiCad bug? If yes, is there a
workaround?
Thanks, Martin
from pcbnew import *
def plotitem(apcbfilename,aoutputdir,aformat,alayer):
board = LoadBoard(apcbfilename)
pctl = PLOT_CONTROLLER(board)
popt = pctl.GetPlotOptions()
popt.SetOutputDirectory(aoutputdir)
pctl.OpenPlotfile('abc',aformat,'')
pctl.SetLayer(alayer)
pctl.PlotLayer()
pctl.ClosePlot()
plotitem('C:\\Program
Files\\KiCad\\share\\kicad\\demos\\complex_hierarchy\\complex_hierarchy.kicad_pcb',
'D:\\mse\\proj\\test\\plot',PLOT_FORMAT_POST,F_Cu)
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp