Cu In UnitsTypeEnum Enumerator

Cu In UnitsTypeEnum Enumerator

b.mccarthy
Collaborator Collaborator
556 Views
2 Replies
Message 1 of 3

Cu In UnitsTypeEnum Enumerator

b.mccarthy
Collaborator
Collaborator

I am looking for the enumerator for in^3:

 

https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=GUID-59997AD8-527C-4552-B90E-88D1B1F97841

 

I see a few volume values (cup, liter, gallon) but nothing for cubic inches, or maybe I missed it...

 

TIA

 

0 Likes
Accepted solutions (1)
557 Views
2 Replies
Replies (2)
Message 2 of 3

Michael.Navara
Advisor
Advisor

There is only basic units in UnitsTypeEnum. But you can use "in*in*in" as string in parameter expression

Message 3 of 3

WCrihfield
Mentor
Mentor
Accepted solution

Hi @b.mccarthy.  Michael is right.  That Enum is pretty basic, and only includes a few basic variations in most measurement types.  When you need measurement results in different units than what is available in that Enum, you have to use the String representation of those units.  For area & volume type units, there is often a few different ways to format it.

All three of these examples will work for inches cubed:  "in*in*in", "in in in", "in^3"

Same applies for Area units:  "in*in", "in in", "in^2"

Density then usually needs to include " / " (space "/" space), between the two different units involved, because Density is Mass divided by Volume, and the two use different unit types.

 

If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click (LIKE or KUDOS) 👍.

If you want and have time, I would appreciate your Vote(s) for My IDEAS 💡or you can Explore My CONTRIBUTIONS

 

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)