I am trying to have the roundness of an auto-element in a variable. I cannot use a dimension as I have 30,000 circles and try to export all of these roudnesses via a script to a txt file.
Does anyone knows how to call the roundness of an auto-circle into a variable?
If you measure the circle as a SEPMIN circle, the roundness is the difference between max and min radius, so you can export the dimension without creating it !!!!!!
ASSIGN/V1=SQRT(DOT(CIR1.HIT[1..CIR1.NUMHITS].XYZ-CIR1.XYZ,CIR1.HIT[1..CIR1.NUMHITS].XYZ-CIR1.XYZ))
ASSIGN/ROUNDNESS=MAX(V1)-MIN(V1)