Add Dimensions to one side of rectangle with api

Hello,

How it is possible to dimension one side of a rectangle created With :

sketcher.CreateCornerRectangle(0.050, -0.025, 0, -0.005, 0.025, 0);

result:

Objective:

SolidworksApi/macros