hexagon logo

auto feature ellipse ?

I'm not sure that this code is very usefull, but I enjoyed in writing it !!!!!

Sub main()
Set EX = CreateObject("Excel.Application")
Set xl = CreateObject("Excel.sheet")
xl.Application.Workbooks.Open "C:\Tests\ellipse points creator v2.xls"
xl.quit
End Sub

You just have to execute the script (write the good path for the excel sheet...), then type values and save the xyz file. You import it as XYZ file and create vector points, it's done...
This version of ellipse point creator creates points regulary spaced around ellipse, the previous version did not.
It displays an error, but it works fine if you cancel it... If some one can shift this error, it will be better...Angry
Parents
  • You have avoided the 4.0 release, here's the 4.1 !
    The major "enhancement" is the direct measurement of the points, in PC-DMIS from Excel !
    You just have to write the good folder in the script to execute the "macro".
    I think it should be wise to test it off-line !!!!! Slight smile

    Thanks to Michel for the help !!!!!
Reply
  • You have avoided the 4.0 release, here's the 4.1 !
    The major "enhancement" is the direct measurement of the points, in PC-DMIS from Excel !
    You just have to write the good folder in the script to execute the "macro".
    I think it should be wise to test it off-line !!!!! Slight smile

    Thanks to Michel for the help !!!!!
Children
No Data