thank you for the answer.
With your code you set the position of the Annotation to the fixed position
XA = 0.2545
YA = 0.009
But my Block is somewhere on my sheet. Also i have different blocks. So i dont know a fixed position.
I need to get the dimensions from the Block Sketch to find out the bottom left point to place my note.