You want to mount the switch into a rectangular hole in the PCB itself?
You can use the 'Solid Region' tool set to 'NPTH':
https://easyeda.com/Doc/Tutorial/PCB.htm#Solid-Region-in-PCB
Note that you may need a bigger hole to allow for the corner radius.
I think the minimum corner radius may be 0.15mm. I have asked Support and if it is different then I will post back.
Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice