Hello, I’m using kiCAD 7.0.8. I tried to use KiPython tool to run a very simple script as below:
from pcbnew import *
board = GetBoard()
modules = board.GetModules()
Then, an error occurred: AttributeError: ‘BOARD’ object has no attribute ‘GetModules’