This situation popped up when a customer wanted to have a custom board made using one of Rob Robinette's .diy files.
Rob's file would not pass inspection using my .diy file analyzer program
https://hoffmanamps.com/php/DIYLC/DiyFileAnalyzer.phpIt returned several errors saying there were eyelets off the edges of the board.
I examined the file and found that Rob had used eyelets to make grommets and speaker jacks.
My program looks for all eyelets and turret lugs to make a drilling point.
So it found all these other eyelets that were used to make components and they were outside of the board area.
If your .diy file does not pass inspection and you do not want to edit all the components, just create a copy of your file.
Then select all items outside the board and delete them.
So now all you have is the board itself in the copied .diy file
Now it is much easier to analyze your .diy file.
Below you can see the original file with all the areas in red showing where an eyelet was used to make a component
This file would not pass inspection
The other image is the file copy I made and deleted everything outside of the board.
This file passed inspection by my Analyzer program
Screen shots below:
The original file was analyzed and you can see all the hole errors listed below it.
It shows you the X and Y coordinates where the off the board eyelets were found
And then file after I made the copy of and removed all the items outside of the board.
This one passes inspection