Persistent Unit Conversion Quirk in iLogic Parameters (Demonstration Included)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm hoping to initiate a constructive discussion about a recurring behavior I've observed in Inventor's iLogic, specifically concerning how parameters interact with units during calculations. Despite explicitly defining a parameter with a specific unit types, it sometimes appears to store or display a numerical value that corresponds to a different unit, which is unexpected.
My Understanding of Unit Handling & Workarounds:
I'm familiar with setting global document units, assigning specific unit types to parameters in the Parameters dialog, and I also understand that some users opt for entirely unitless parameters and manage all conversions manually.
However, the core behavior I'm trying to understand is when a parameter like ResultFeetParameter is defined as Length (ft), my expectation is that it would consistently hold and operate on values in feet. If it's part of a calculation involving parameters of different unit types (e.g., adding a Length (in) parameter to a Length (ft) parameter), I would expect Inventor to seamlessly manage these unit conversions behind the scenes, ensuring the ResultFeetParameter always maintains its value in feet. Instead, it often appears the raw numerical value assigned to such a parameter ends up on a different scale (like inches), indicating an underlying storage or calculation unit that doesn't align with the parameter's declared definition. This creates a need for constant vigilance and manual correction in iLogic code, particularly when values are displayed in Message Boxes, checked in the Parameters dialog, or linked to drawing annotations. It feels like an additional layer of manual overhead that could ideally be handled more robustly by the software.
I've attached an example of this behavior.