AnsweredAssumed Answered

How to align many  note  with API?

Question asked by Yong Ning on Jul 29, 2017
Latest reply on Aug 1, 2017 by Yong Ning

Align.jpg

use AlignHorz

follow code don't align many note

 

 

 

Private Sub del()

   Dim SwApp As SldWorks.SldWorks, SwModel As ModelDoc2

       Set SwApp = Application.SldWorks

       Set SwModel = SwApp.ActiveDoc

   Dim SwDraw As DrawingDoc

       Set SwDraw = SwModel

       Stop

       SwDraw.AlignHorz

      

End Sub

Outcomes