How to get GD&T Value with Frame

I have Object and type of the element , want to get "GD&T value with Frame ".

By using Object and type able to get the GD&T value and GTOL symbol but not able to get the frame.

How do i get GD&T value with frame .

Aniket

SolidworksApi macros