Family arrangement problem

Hello everyone! I have referred to this articleFamilyInstance.ByFace with ElementFaceReference to place the bolts on the flange face.
But I can’t find a way to place the bolts correctly in the flange holes, so I’m looking for advice.
I provide relevant files here, thank you!
Insert bolts into flange holes.dyn (20.3 KB)
Insert bolts into flange holes.rvt (6.2 MB)

@m1468 ,

i try to get centerpoints of the cycles!

KR

Andreas

Thank you Andreas for your help, I would like to ask you if the flange has been set PCD, Hole Offset Angle, Number of Holes.
Is it possible to read these parameters to help anchor bolts to flange faces