Altium designiing a component with two models but not the same number of pads

altiumpins

I'm designing a quartz component.
I would like to use it with differents packages like those ones :
First Type at RS-Online
and
Second Type at Farnell

One of them has 2 pads, the other has the same 2 pads and 2 ground pads.
I designed a schematic with 3 pads among them a power pad which is connected
to GND and invisible.

This works pretty well for the 4 pads package but for the 2 pads package,
when I compile, I get an error "Could not find port 'GND' on model 'QUARTZ_32x15' for pin 'GND'".

Obviously, that's right because there's not any ground pin on the 2 pads package.

So, is there a way to acheive this with something like saying that a pin may
be optionnal or something like this? Or should I build one schematic
for each package?

Best Answer

Definitely build two schematic symbols in this case (just copy and modify one to add the two GND pins- I would definitely make both GND pins visible so you can see where they are connected on the schematic). They really are quite different components from a footprint point of view.