Suppose you want to create a footprint for a MOSFET in a DPAK package with extra vias to increase the thermal and/or electrical conductivity in the drain tab.
- Clone an existing - or Create a new - DPAK package in the PCB Lib Editor;
- Save it with a new name and add a Description;
- Number the SMD Top Layer pads for the DPAK footprint 1, 2, 3 where 2 is the drain connection;
- Now add some Multi-layer pads (not vias) dimensioned as vias to the main pad, 2, and then give them the same number "2", as the main pad;
- Distribute the small pads around the main pad as desired but beware putting them close to the edges of the main pad as they may interfere with the spoke placement if a copper area is to be added around the main pad;
- Assign the new footprint to the schematic symbol for the relevant device(s) in your schematic and then do Update PCB...
- Place and connect up the new footprint;
- Rebuild the copper areas (Shift-B);
- Save and reopen the PCB.
- Run the Design Manager (Design button in the left hand panel);
- If there are any DRC errors flagged for the small pads in the main pad, use the Connect Pad to Pad tool to connect them all together in the PCB and then resave the PCB;
- Save and re-run the Design Manager.
- Check the Gerbers before submitting for PCB manufacture.
- For more on how to make thermal and electrically enhanced pads where copper is exposed on only one side, see;
- For more on building footprints, see:
I did what you recommended for TOSHIBA 2-5Q1A package for a MOSFET with 8 pins.

but, I cannot get rid of ratlines even though the pads (4 small ones on a big centered one) are connected to drain pins and have the same net name and pin number.
Any advice?