It seems that in some occasions, GetViaByPosition(track.GetPosition()) (line 333) returns NoneType. The proposed change will stop the script from crashing, but also won't correctly replicate those vias. I don't know how to properly fix this, but this at least makes the script usable again for me.
It seems that in some occasions, GetViaByPosition(track.GetPosition()) (line 333) returns NoneType. The proposed change will stop the script from crashing, but also won't correctly replicate those vias. I don't know how to properly fix this, but this at least makes the script usable again for me.