How to set Dual Dimension for manually drawn dimensions in drawing using solid works API c#

Hi,

I have following scenario,the below shown Sketch dimension to set as Dual dimension using the code

boolstatus = partDoc.Extension.SetUserPreferenceToggle((int)swUserPreferenceToggle_e.swDetailingDualDimensions, (int)swUserPreferenceOption_e.swDetailingDimension, true);

The above code works for Drawing view, but the below scenario is a sketch.

I want to set all the manually drawn dimensions in drawing file to be also set to dual dimension using SolidWorks API c#

Thanks,

Girish

SolidworksApi macros