AnsweredAssumed Answered

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

Question asked by Girish Kumar on Nov 27, 2017
Latest reply on Nov 28, 2017 by Manikandan Babu

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

 

Outcomes