you could examine all cutout features in the Model on the Document. Here you find all lines, circles, arcs. There are no rectangle objects, since a rectangle is made of 4 lines, so this more complicated to examine.
Hope this helps for the firrst steps. As you can see, I used Spy for SE for display of the object structure. This helps a lot to get started with a program.