3 Replies Latest reply on Aug 15, 2017 11:32 PM by Nilesh Patel

    How to change DimXpert Direction in VBA?

    Nishihama Sayuri

      I have a vba macro to draw [DimXpert Location Dimension] in .sldprt file.

       

      Get and Set Location Dimension Example (VBA)

      http://help.solidworks.com/2017/English/api/swdimxpertapi/Get_and_Set_Location_Dimension_Example_VB.htm

       

      ' insert DimXpert dimension

      dimXpertPart.InsertLocationDimension dimOption

       

      Can I change DimXpert Direction in VBA? (before InsertLocationDimension or after InsertLoactionDimension)

       

       

      I ran vba macro recorder, draw dimension and change its direction by hand, but No code was created.