Part Hole Tolerance Precision

Part Hole Tolerance Precision

bdeslippe
Participant Participant
274 Views
2 Replies
Message 1 of 3

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
Accepted solutions (1)
275 Views
2 Replies
Replies (2)
Message 2 of 3

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
Message 3 of 3

bdeslippe
Participant
Participant

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

 

Thank you very much!

0 Likes