
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
My company has just recently upgraded from Inventor 2017 to 2018. Currently on 2018.1.1 (latest update). We've found an issue with the output from iLogic being driven incorrectly into Custom iProperties.
When using the code below, lets say mass is 402.5687 lb
SyntaxEditor Code Snippet
iProperties.Value("Custom", "Mass")=Round(iProperties.Mass)
Inventor 2017 produces Mass = 403
Inventor 2018 produces Mass = 403.0
Essentially every function where the output is a whole number (i.e., Round, Ceil, Floor), iProperties attaches a .0 to it. I know several work-around's for this issue, but I would rather the function work like it did in 2017, where a whole number is driven out as a whole number. We do not wish to update all our templates.
This seems like an issue that needs to be resolved in an Inventor update. If anyone has been able to resolve this issue without changing how that line is currently written, we would be glad to hear a solution.
Solved! Go to Solution.