Get Relation Entities Information using API

Hi everyone,

How do I get the information Entity (marked in red) when I click the Collinear15 (marked in green).

What I mean to say is how do I get the Entity ("Dim. SC of 2014-1-209-VAFM8-25-F5-M6-T5-N6") this information using API?

Hope I am able to clarify my problem.

Regards,

Prarthana

SolidworksApi macros