CATIA V5 - Read Part Numbers from .catdrawing

Hi everyone! I'm a beginner in CATIA.

Is there any way to use the automation layer to read what the heads of arrows in a .catdrawing file are pointing to?
I need a macro that prints out what part number the arrow of every bubble is pointing at.

I was hoping for a simple call that could do this, but it seems difficult. Would I need to use colors and search through colors instead?

Thanks!