How to add Copper Pour Area using Python in Kicad Nightly

How to add Copper Pour Area using Python in Kicad Nightly.
I have somewhat tried in Kicad Stable Version and got some results over there. But it seems that Insert Area is not in kicad nightly. Which Command replace it.

AddArea()
https://docs.kicad.org/doxygen-python/classpcbnew_1_1BOARD.html#a61a8f603baea712340021ee57a537222

1 Like

Thankyou so much for your fast reply.

Can you help me with the newZonesList parameter in AddArea() ?

You should be able to pass None there.

1 Like

Thank you once again for your fast reply.
CPolyLine.DIAGONAL_EDGE was not in Ki-cad Nightly, Instead I have used ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_EDGE for hatch and it work.

Thanyou once again.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.