Remove all annotations by macro

Hi everybody

I'm working on a macro that assigns 3 QR  codes to the drawing. Look the attached pictures. At the same time, it assigns a note code to each QR. The problem occurs when I need to regenerate the drawings. At the firs time i need clear all "old" qr Pictures and annotations "FOLDER", "MODEL"  and "DRAWING". Pictures don't make a problems.

Does anyone have any idea how to remove all notes?

Thanks Peter

SolidworksApi/macros