- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Inventor: Setting parameter tolerance with iLogic has wrong results
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:
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.