I’m using KiCAD for a while and finished some little projects including getting PCBs from JLCPCB.
But no I have a problem, I designed the board first and added the mounting holes, to know their position when placeing all the parts. So far so fine. Then I realized a bug in the schematic, I fix that and did update PCB, and all mounting holes are gone, so I had to make an undo, but so my changes in the schematic are gone too.
An older post from 1999 said, I have to lock the mountigholes, what I did, but updateing from schematic remove them again.
third method (apart from locking and added symbol in schematics): add the mounting hole–>doubleclick for mouting hole properties dialog–>check the “not in schematic” checkbox.
fourth method: use only a circle on edge.cuts layer as hole.
There were (in V5) locking of footprint and locking of pad in footprint. I don’t know how in V7 (may be the same). May be OP locked not what he had to.
Thanks to all answers, I am fine, adding the amount of needed mounting holes in the schematic. assineing a footprint, updateing PCB from schematic and placeing the mounting hole works for me.
Thanks again to everybody