how to show the model dimension in drawing view through macro?

Hi,

     I want to show the model dimension in drawing view through macro.

   I was already tried the mark for drawing option. But in this method not usefull for me, because maked dimensions not for drawing views basis.

Below i was mentioned my problem,

  1.   In my model have 15 dimensions.

  2.   I was marked 10 dimensions as per my requirement.

  3.   Now in Drawing sheet at front view i want to show the 5 dimensions only.

  4.   In another section view or detail views i'll show the other dimensios.

In this stage i will use the mark for drawing option in Front view will shown the 10 dimensions.

Dimensions alignment also one more minus point.

If i'll use another option like Getentitybyname (I don't know clearly), above the problems are not come.

Thanks & Regards,

A.Mahesh.

SolidworksApi macros