← Back to team overview

kicad-developers team mailing list archive

Kicad Scripting: Documentation?

 

Hello,

I have a basic question: Is there a scripting documentation online? Where all the commands e.g. used in the link below are explained? Maybe that would clarify also my questions below. I've seen that python interface is generated automatically, but where do I find the c documentation?

I tested out the scripting online:
https://github.com/KiCad/kicad-source-mirror/blob/master/pcbnew/scripting/examples/listPcb.py#L2

There seem to be some errors:
Line17: SegVia not defined.
Line55: Zones are empty.
Line60: Ratesnest returns (always?) zero
Line62: GetNetClasses() produces error.

Please help!
- Michael


Follow ups