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

Part Hole Tolerance Precision

bdeslippe
Participant

Part Hole Tolerance Precision

bdeslippe
Participant
Participant

Hello All,

 

Is there a way, via iLogic or with the API, to set the precision of a specific hole's tolerance? I have set the tolerance type like this:
holeFeature.HoleDiameter.Tolerance.SetToFits(ToleranceTypeEnum.kLimitsFitsShowTolerance, fastenerType, "");

But I am not able to set the precision to X.XXX decimal places like you can in the UI. Any suggestions?

bdeslippe_0-1729683881322.png

 

0 Likes
Reply
Accepted solutions (1)
145 Views
2 Replies
Replies (2)

Michael.Navara
Advisor
Advisor
Accepted solution

Property holeFeature.HoleDiameter returns Parameter object. See its Parameter.Precision property. It should be what are you looking for.

0 Likes

bdeslippe
Participant
Participant

Sweet and simple. Can't believe I missed that.

 

Thank you very much!

0 Likes