I've got a weird one going on with units.
I've got a family table where the driving values are populated in inches and I'm using those to calculate an area in mm.
For the specific issue I'm seeing I have a {RADIUS}=0.125in
When I calculate {RADIUS}^2 in mm^2 I get 80.645 which is wrong.
If I do {RADIUS}*{RADIUS} I get 10.080 which is correct.
If I do {RADIUS}^2 in in^2 I get 0.125 which is correct.
It's also slightly annoying that the Column Properties form forgets the units each time it's opened, that wasted about 30 minutes of me trying to debug a formula before I noticed.
This feels like a bug to me, has anyone else spotted this?
Solved! Go to Solution.
I've got a weird one going on with units.
I've got a family table where the driving values are populated in inches and I'm using those to calculate an area in mm.
For the specific issue I'm seeing I have a {RADIUS}=0.125in
When I calculate {RADIUS}^2 in mm^2 I get 80.645 which is wrong.
If I do {RADIUS}*{RADIUS} I get 10.080 which is correct.
If I do {RADIUS}^2 in in^2 I get 0.125 which is correct.
It's also slightly annoying that the Column Properties form forgets the units each time it's opened, that wasted about 30 minutes of me trying to debug a formula before I noticed.
This feels like a bug to me, has anyone else spotted this?
Solved! Go to Solution.
Solved by jan_priban. Go to Solution.
Hello John,
I see your point. I see the expression "{RADIUS}^2" not working well. But see please explanation how Inventor expression / units works.
https://help.autodesk.com/view/INVNTOR/2025/ENU/?guid=GUID-0106478A-B340-4164-A81B-866062877D60
If you need to work with definition "^2", you need to modify expression to "({RADIUS}*1 ul) ^2"
Regards
Jan Priban
Hello John,
I see your point. I see the expression "{RADIUS}^2" not working well. But see please explanation how Inventor expression / units works.
https://help.autodesk.com/view/INVNTOR/2025/ENU/?guid=GUID-0106478A-B340-4164-A81B-866062877D60
If you need to work with definition "^2", you need to modify expression to "({RADIUS}*1 ul) ^2"
Regards
Jan Priban
Can't find what you're looking for? Ask the community or share your knowledge.