I am new to script programming and hope somebody can help.
I need to measure parts with holes on various pitch diameters to determine the PCD. The problem is that the amount of holes vary from part to part (10, 12, 16, 20, etc). I setup a part program using variables and flow controlk commands. I construct the pitch circles using the relevant amount of holes and get the diameter of each pitch circle eg.
DIM LOC10= LOCATION OF CIRCLE CIR_PCDH12 UNITS=MM ,$
GRAPH=OFF TEXT=OFF MULT=1000.00 OUTPUT=BOTH
AX MEAS
D 550.025
END OF DIMENSION LOC10
DIM LOC12= LOCATION OF CIRCLE CIR_PCDH12 UNITS=MM ,$
GRAPH=OFF TEXT=OFF MULT=1000.00 OUTPUT=BOTH
AX MEAS
D 550.025
END OF DIMENSION LOC12
If I print the report, all the PCD's are printed. I am looking for a script to change the output mode for the unnecessary dimensions to OUTPUT=NONE.