block attribute rotation

Dear all,

my program places block with attrbutes.

when it places at 0 deg the attribute annotation displays correctly.

but when block is placed at 180 deg attribute annotation also gets rotated at 180 & displays at 180 deg which is not correct

I want to display it correctly.

pls guide me for the same,

attached code below

vNote = selBlockInst.GetAttributes

   

      For k = 0 To UBound(vNote)

     Set swNote = vNote(k)

     If swNote.TAGNAME = "TEST" Then

        swNote.SetText (ft1.fttag)

        'swNote.GetTextJustification

        swNote.Visible = True

        swNote.ReadOnly = True

        swModel.EditRebuild3

     End If

    Next k

- Sanjay

SolidworksApi macros