Automating Detail Views

Hi,

I am creating a drawing from an assembly. I was able to create the standard views using automation.

I need to automate the generation of the detail views as well. But, in the drawing, I do not know if I can reference the individual parts and find the exact location where the detail circle has to be drawn.
Is there a way to reference the location for the detail circle from the original assembly and use it in the drawing view to create the detail view?

I ve attached a sample assembly and the top view drawing. In the drawing, I want to automate detail view generation for the circular hole on the top view.

The holes will be at different locations for different designs and hence we cannot fix standard locations.

Please advise.

Thanks,

Hersh

SolidworksDrawings And Detailing