Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
harvey_craig2RCUH
168 Views, 1 Reply

Tolerances multiplied by factor of 10

I am creating a tool that auto-dimension's drawings. The tolerances placed on the sheet are a factor of 10 higher than what I have set them to in iLogic. All my dimensions are in mm. What am I missing?

 

Code for the manage section:

ThisDrawing.BeginManage()
If True Then
	Dim BSPPLength1 = genDims.AddLinear("dimension 1", VIEW1.SheetPoint(1, 1.2), HexEdge, F4) : BSPPLength1.NativeEntity.Tolerance.SetToDeviation(0.2, -0.0) : BSPPLength1.NativeEntity.TolerancePrecision.Equals(3)
	Dim BSPPLength2 = genDims.AddLinear("dimension 2", VIEW1.SheetPoint(1, 1.1), HexEdge, E2)
	Dim BSPPLength3 = genDims.AddLinear("dimension 3", VIEW1.SheetPoint(1, 1), HexEdge, E1) : BSPPLength3.NativeEntity.Tolerance.SetToDeviation(0.2, -0.0)

	Dim BSPPSealAngle = genDims.AddAngular("Dimension 4", VIEW1.SheetPoint(-0.1, 0.5), SealPoint1, SealPoint2) : BSPPSealAngle.NativeEntity.Tolerance.SetToDeviation(0, -0.5*0.174533)
	Dim BSPPInternalDiameter = genDims.AddLinear("dimension 7", VIEW1.SheetPoint(-0.2, 0.5), InternalFace1, InternalFace2)
	Dim BSPPSealingDia = genDims.AddDiameter("dimension 5", VIEW1.SheetPoint(-0.3, 0.5), F4, True) : BSPPSealingDia.NativeEntity.Tolerance.SetToSymmetric(0.12)
	Dim BSPPDiaE3 = genDims.AddDiameter("dimension 6", VIEW1.SheetPoint(-0.4, 0.5), E3, True) : BSPPDiaE3.NativeEntity.Tolerance.SetToDeviation(0, -0.12)
	Dim BSPPDiaE2 = genDims.AddDiameter("dimension 8", VIEW1.SheetPoint(-0.5, 0.5), E2, True) : BSPPDiaE2.NativeEntity.Tolerance.SetToDeviation(0, -0.25)
	Dim BSPPDiaLatchGroove = genDims.AddLinear("dimension 9", VIEW1.SheetPoint(0.6, -0.5), BSPPLatchGroove1, BSPPLatchGroove2,,,False) : BSPPDiaLatchGroove.NativeEntity.Tolerance.SetToDeviation(0, -0.1)
	
End If
ThisDrawing.EndManage()  

Drawing with tolerances 10 times higher:

harvey_craig2RCUH_0-1723455668792.png

Many thanks,

Harvey