Printing the Location of All Components in PCB Editor
![](https://play.vidyard.com/5LSZcDfzmUY1YxB2666nwx.jpg)
For this example, we will create a user-defined function that will print the reference designator and XY location of all the components in the PCB Editor.
For this example, we will create a user-defined function that will print the reference designator and XY location of all the components in the PCB Editor.