One question...

Theme: Package, component in PCB

I have a pushbutton that has only 2 pins. How can I create it myself?
The pushbutton is 6 x 6 mm and has only two pins in the center with 5.08 mm pitch:

1 (Fig. 1: Photo of the pushbutton)

Please start the package generator in a PCB window in the menu "Package / Package Generator":

2 (Fig. 2: Package Generator, the "film capacitor" is most similar, enter the values).

Please check if 1.2 mm is sufficient for the drill holes. Save the package as "wired
/ leaded = THT" under a nice name, e.g. "Button_6x6":

3 (Fig. 3: Give name and [OK])

Now go to a normal schematic window and select "Components / Create a new component..." in the menu. TARGET already suggests your
Button_6x6 as package and you click on the green field "Yes, use this package". An editor for schematic symbols opens and you click on the magic wand at the top:

4 (Fig. 4: Generate a generic component)

You then select "Switch
NO" for "normally open" and [OK]. Now you only need to save the entire component:

5 (Fig. 5: Select type, give name, select manufacturer and save).

Done!