Hi there,
I’m at the task to get a plugin, that was built for KiCad6, to run in KiCad8.
The basic functionionality is iterating through a list of all footprints on the board and then checking for matches in some footprint attributes.
Executing the plugin throws this Attribute Error:
‘FOOTPRINT’ object has no attribute “GetProperties”
In the script there is a list generated with
for fp in self.board.GetFootprints():
and these “fp”-entries are separately read out with
mount = fp.GetTypeName()
if mount in ["SMD", "THT"]:
if not "Mount" in fp.GetProperties():
And this last line generates the error.
In the Doxygen documentation I only get to this point but there is no explanation of how this list looks and a link to the details of the member list for “footprint”.
Is there another overview for the API? Because I wasn’t able to locate any and also in the forum I didn’t get examples to fit my problem.