Pads on int1/int2 layer

Hello everyone!
I need to create component objects for antenna assemblies embedded on multiple PCB layers. To do this, I need to place pads on the Int1 or Int2 layers so I can connect them. We’ve already created Python scripts for this, which work fine in KiCad 6. Unfortunately, they no longer work in KiCad 9.
Are any of you experiencing the same problem?
Is there a plan to resolve this issue?

Do you still need a script ?

He wants to add (SMT?) pads on inner layer, not remove them.

I am guessing the problem is that swig (python interface) changes a bit with each KiCad version, and not with a change in KiCad itself. To test this, you can open a PCB file in a text editor, move an SMT pad to an inner layer, save it and then open it in KiCad.

A better and more stable interface for Python is planned, but it will take some time.

OK, thanks. We will work around and try to find out what’s going on.