Message 1 of 6

Not applicable
07-23-2020
03:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I would like to put different tolerances depending on the value and tried something like below but the tolerance is not showing on the drawing. Can anyone advise me what am I doing wrong? Thank you in advance!
If (oParam.Value <= 15) Then
oParam.Tolerance.SetToSymmetric(0.1)
ElseIf (oParam.Value >15) AndAlso (oParam.Value <= 30) Then
oParam.Tolerance.SetToSymmetric(0.15)
Else
oParam.Tolerance.SetToSymmetric(0.2)
End If
Solved! Go to Solution.