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

Inventor: Setting parameter tolerance with iLogic has wrong results

atomic.lex
Enthusiast

Inventor: Setting parameter tolerance with iLogic has wrong results

atomic.lex
Enthusiast
Enthusiast

I have a error by setting parameter tolerance

 

Set d3_Tol As String = "d13"
Parameter.Param("d3").Tolerance.SetToFits(31244,(""),(d3_Tol))

The code should bring parameter  tolerance d13 (-0.065 / -0,395 ), but i get 10x values:

d3_Error.jpg

Why is it so?

 

Many thanks for advice.

 

Good luck, Alex


@atomic.lex,

marius.gildehaus has edited your subject line for clarity
Original: Setting parameter tolerance error


0 Likes
Reply
938 Views
8 Replies
Replies (8)

marius.gildehaus
Autodesk
Autodesk

Hello @atomic.lex!

 

As far as I know, in iLogic the values will be in cm so you need to divide them by 10 to get mm.

 

Thanks!



Marius Gildehaus
Technical Sales Specialist
0 Likes

atomic.lex
Enthusiast
Enthusiast

I don't give any values, i just call standard tolerance, which would be given from Inventor to parameter. I don't have any ability to divide it too. The error appears after update Inventor 2016 to Inventor 2018. 

0 Likes

MjDeck
Autodesk
Autodesk

@atomic.lex, can you post a part that shows the problem? If possible, please post the original Inventor 2016 version of the part.
Here's a version of your rule that is easier to read:

Dim d3_Tol As String = "d13"
Parameter.Param("d3").Tolerance.SetToFits(ToleranceTypeEnum.kLimitsFitsShowTolerance, "", d3_Tol)

Mike Deck
Software Developer
Autodesk, Inc.

atomic.lex
Enthusiast
Enthusiast

The error could be seen this a simle part

Inventor_bag.jpg

0 Likes

MjDeck
Autodesk
Autodesk

I confirmed that there is a problem in Inventor 2018. It looks like it's fixed in 2019. I'll get more details.


Mike Deck
Software Developer
Autodesk, Inc.

0 Likes

MjDeck
Autodesk
Autodesk

@atomic.lex, this is fixed in Inventor 2019. For reference, this is internal defect INVGEN-4632.
Are you planning to upgrade to 2019? It's also possible that a fix will become available for 2018.


Mike Deck
Software Developer
Autodesk, Inc.

0 Likes

atomic.lex
Enthusiast
Enthusiast

Hi 

 

 

 

 

 

 

0 Likes

MjDeck
Autodesk
Autodesk

We haven't put this fix in a patch for 2018 yet. We should be able to do that soon. I'll post more info here when it's available.


Mike Deck
Software Developer
Autodesk, Inc.

0 Likes