Add Note to SketchBlock on bottom left corner

Hello,

i want add a note (with attribute) to a selected block on a drawing.

The note should be created at the bottom left corner. But how can i find the bottom left corner?

Currently i add the Note this way:

<p></p>
<p>        Dim mDoc As sldworks.ModelDoc2 = swApp.ActiveDoc<br>        Dim Pt As sldworks.MathPoint = SelectedSketchBlockInstances(0).InstancePosition<br>        mDoc.SketchManager.EditSketchBlock()</p><p>        Dim Note As sldworks.Note = mDoc.InsertNote("Demo")<br>        Note.TagName = "NoteTag"</p><p>        Note.SetTextPoint(Pt.ArrayData(0), Pt.ArrayData(1), Pt.ArrayData(2))</p><p>        mDoc.SketchManager.EndEditSketchBlock(True)</p><p></p>

SelectedSketchblockInstances(0) ist the selected Block Instance (see ).

So i can set the thext position at the Instance Poistion. But how can i get the bottom left corner from the BlockInstance?

Regards,

Sascha

SolidworksApi macros