Hi Everyone
We have recently transitioned from Inventor Pro 2014 to 2016. Currently we are running Build 236, release 2016 SP2
Since the transition we have noticed a peculiar behavior in parameters. Since the migration all the data that is currently created or opened with the new software "rounds down" all the parameter values. In 2014 we had all the data rounding up or down based on the fact that it was greater or lesser than 0.5
For example in 2014 we had
1.23 = 1
1.5 = 2
1.89 = 2
but with 2016 we seem to get
1.23 = 1
1.5 = 1
1.89 = 1
We do not use any iLogic on these parameters so things should not have changed from that perspective.
Is there an additional setting somewhere or is there a hotfix available to fix this problem. This affects our day-to-day working so any help will be most appreciated.
Thanks
Solved! Go to Solution.
Solved by VGonsalves. Go to Solution.
Where is this rounding down taking place? In drawings? Sketches? In the parameters table? If so, which column?
The rounding down is happening in the parameter table to iProperties export
Refer to Capture1.png. Everything looks good here with the Height parameter using the value of the Z parameter. Now as you will notice the export option is ON (the tick on the far end)
Refer to Capture2.png. Now the exported parameters values show up incorrectly. The height parameter shows up as a number type and its value is rounded down while the Z parameter shows up as a text and the value is correct.
I have also attached the ipt file
Hope you can help me understand whats really going on.
Thanks
In the parameter dialog right click on the e.g. Height parameter and invoke the Custom Property Format dialog.
Using this dialog you can format how the given parameter is displayed in the iProperties dialog. In this case the Height parameter's precision was set to 0, what is the reason the decimal part is truncated.
In this dialog it is possible to set the property type string (by default) or number.
Thanks, Csaba
Thanks Csaba for your response
First up I have my precision set to 0 cause I work in the fabrication industry which works best if the numbers are rounded to the closest integer.
Now back to the problem. This change was noticed after we transition to Inventor 2016. Prior to this there wasn't any problem with property type being a number or text. But since your post I tried changing my setting back to text and the rounding works as expected with anything larger than 0.5 gets rounded up and vice versa. So it seems there is a bug in the system. I had good reasons to have it set the way it was but for the time being I am going to change it to text and see if this change affects me. The reason I say "had" is cause I had created the templates a fair while ago.
I hope Autodesk fix this problem.
Thanks again
@VGonsalves, I think I might have identified the problem. As indicated in your parameters table, the value is actually NOT exactly 2124.5. As I've highlighted below, the exact value is 2124.4999999etc. which, however many 9's there are, is still less than 2124.5, so technically it SHOULD be rounded down. Inventor is doing exactly what it should. If you change that value to anything equal to or greater than 2124.5, it'll round up as expected.
In your initial post you said you were seeing even values like 1.89 rounding down. Do you have a sample file where that's actually happening? Or did you just use that as an example to get the point across of what you were seeing with the 1.5 value? If that's the case, hopefully the explanation I just gave for why that's happening with the 1.5 value solves your issue!
DRoam
Thanks for trying to help me here. I believe you are not seeing the whole problem. If all you have said is true then why is the value 1081.79652589051 mm getting rounded down to 1081 when it gets exported as a custom property?
Is it getting rounded down or are you only importing only the whole number and the integer is being excluded/dropped?
Blair
I understand your question but I don't think I know how to import only the integer. There is no iLogic at play here, all I had was my parameters with the export checked on and the custom property set to number with the precision set to 0. This setup worked fine in 2014 and since the migration to 2016 we have noticed that the numbers behaving funny as I have explained earlier.
I don't think I would be using the Parameters area to set my units but in the drawing styles library settings. Even though this sounds like a bug/issue, you are losing data doing this way.
We use 4 decimal places for our IPT/IAM documents but control the display values in the drawing styles library settings for displaying units in the drawing.
Can't find what you're looking for? Ask the community or share your knowledge.