Hi all,

I'm looking into prepopulating the list of BOM plugins in eeschema, and 
further possibly cleaning up resource file access in general. Can I get 
someone who's using kicad on Mac to run this script in the pcbnew Python 
console to help me out a bit?

import wx; sp = wx.StandardPaths.Get()

for i in dir(sp):
    if not i.startswith("Get"):
        continue
    try:
        print("%s:\t%s" % (i, getattr(sp, i)()))
    except Exception:
        pass

You might have to copy and paste it in two blocks as split above...the
console's a bit quirky for me.

Thanks!

--
Chris


_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to