How to provide a dimension for a arc in api (need any example)

I am finding difficult to provide dimension for an arc. I can only mention the two points of arc in program but i cant able to provide dimension for it.

Any sample program for providing dimension for arc will be helpful.

Thanks.

SolidworksApi macros