API to rotate linear diameter dimension

Hello,

Is there any way to rotate a linear diamer dimension via API? Via GUI this can be done by moving the dot above the dimension.

Regards,

Vladas S.

SolidworksApi macros