Add Via Net Assign feature
Iterates all vias in the active selection and assigns each one to the net of the nearest copper item (track or pad) on the board. Intended for re-using via layouts after copying traces to a new net. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,8 @@ import pcbnew
|
||||
import wx
|
||||
import traceback
|
||||
|
||||
from .via_net_assign import Via_Net_Assign_Action
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Board helpers
|
||||
@@ -241,3 +243,4 @@ class Layout_Replicator_Action(pcbnew.ActionPlugin):
|
||||
dlg.Destroy()
|
||||
|
||||
Layout_Replicator_Action().register()
|
||||
Via_Net_Assign_Action().register()
|
||||
|
||||
Reference in New Issue
Block a user