2 Replies Latest reply on Jun 18, 2014 8:38 AM by Klaudiusz Skiba

    Acquiring text associated with gtol

    Klaudiusz Skiba

      Hello everyone,

      Today I have a problem getting text that i previously associated with geometric tolerance.

      This is a piece of code I use to set some text on the right hand side next to gtol:

       

                   vgtSymbs = swView.GetGTols

                  f = swView.GetGTolCount

                  If Not IsEmpty(vgtSymbs) Then

                       For k = 0 To f - 1

                          Set swgtSymb = vgtSymbs(k)

                          sfballoon = "some text to fill in"

                          sfcheck = swgtSymb.SetText(2, sfballoon)

                        Next

                  End If

       

      The problem is that  swgtSymb.GetText doesn't exist, and nothing I tried so far works.

      To clarify I'm attaching a picture.

      GTOL.jpg

      So once again, my question is how to get above text "This is a sample" using a macro.