5 Replies Latest reply on Jul 21, 2017 10:21 AM by Amen Allah Jlili

    VBA - Set dimension in sketch to be Diameter instead of Radius

    Cad Admin

      I'm working on a macro that add some circles to a face.


      I'm using: swModel.SketchManager.CreateCircle (0#, 0#, 0#, HoleDia) to create the circle

      I also have set: swApp.SetUserPreferenceToggle swUserPreferenceToggle_e.swInputDimValOnCreate, True



      I see both "Add Dimension" & "Diameter Dimensions" Selected, but sketch dims that are added are showing up as Radius dimensions