I have a diameter that has a tolerance zone of .008" (16.0000-16.0080"). As the diameter measurement grows the tolerance for the "roundness" error also grows. Ex:
Diameter = 16.0001" then Roundness Tolerance = .0001"
Diameter = 16.0002" then Roundness Tolerance = .0002"
Diameter = 16.0003" then Roundness Tolerance = .0003" ......and so on all the way up to 16.008" diameter.
My program currently works as I have it programmed with "If/End If Statements"
If/Diameter_R.DIAM>=16.0001
Assign/V1=.0001
EndIF
If/Diameter_R.DIAM>=16.0002
Assign/V1=.0002
EndIF
Then for the Location Dimension my "V1" is assigned to the tolerance for "roundness". This works its just a lot of copy, paste and editing for each value.
My question is there an easier way to assign these different "roundness" tolerances for whatever the bore diameter measures?
Diameter = 16.0001" then Roundness Tolerance = .0001"
Diameter = 16.0002" then Roundness Tolerance = .0002"
Diameter = 16.0003" then Roundness Tolerance = .0003" ......and so on all the way up to 16.008" diameter.
My program currently works as I have it programmed with "If/End If Statements"
If/Diameter_R.DIAM>=16.0001
Assign/V1=.0001
EndIF
If/Diameter_R.DIAM>=16.0002
Assign/V1=.0002
EndIF
Then for the Location Dimension my "V1" is assigned to the tolerance for "roundness". This works its just a lot of copy, paste and editing for each value.
My question is there an easier way to assign these different "roundness" tolerances for whatever the bore diameter measures?