Inventor: Setting parameter tolerance with iLogic has wrong results

Inventor: Setting parameter tolerance with iLogic has wrong results

atomic.lex
Enthusiast Enthusiast
1,083 Views
8 Replies
Message 1 of 9

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
1,084 Views
8 Replies
Replies (8)
Message 2 of 9

marius.gildehaus
Community Manager
Community Manager

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

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
Message 4 of 9

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.

Message 5 of 9

atomic.lex
Enthusiast
Enthusiast

The error could be seen this a simle part

Inventor_bag.jpg

0 Likes
Message 6 of 9

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

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
Message 8 of 9

atomic.lex
Enthusiast
Enthusiast

Hi 

 

 

 

 

 

 

0 Likes
Message 9 of 9

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