Issue while attaching leader to GTol.

Hi,

I have created a geometric tolerance from the MBD dimension toolbar using APIs. The GTol gets created but with no leader.

Please refer to the following images.

How to select the leader option from the 2nd image using API?

Thanks in advance!

SolidworksApi/macros