All my QFN footprints are made with the Altium internal "Tools -> IPC Compliant Footprint Wizard". I get nice footprints with vias in the thermal pad.
When I try to place one of those footprints to the PCB, I get an short circuit violation between the via and the pad. (Shown in the second Image).
How can I correct the rules to allow this vias? I have tried to make a rule (Image 3) that allows short circuit between pads and vias. But the problem here is that the vias are not connected to any net (no Net). If I want to connect them, I have to unlock the primitives and set each via to a net. This is a real ugly way of solving this problem :-(