Display units in Tons

Display units in Tons

juanpablo.molinaKGVXV
Advocate Advocate
662 Views
9 Replies
Message 1 of 10

Display units in Tons

juanpablo.molinaKGVXV
Advocate
Advocate

Hello everyone, I need to do the following, I have an equation that gives me a result in kg, but I want the final result to be in Tons, I show you in the following image.

Screenshot 2024-08-15 125021.jpg

 

With the values ​​enclosed I configured my equation which gives me a result that says Tons but the units are in kg.

These are my parameters so that when entering data it gives me the result of the weight.

ecuaciones.jpg

 

 

 

What I need is for it to show me Tons and not kg.

0 Likes
Accepted solutions (1)
663 Views
9 Replies
Replies (9)
Message 2 of 10

arthurknoors
Explorer
Explorer

Hey, That sound familiar to your question on LI!

0 Likes
Message 3 of 10

bradeneuropeArthur
Mentor
Mentor

I have had contact with your via the LI forum, isnt it?

could you share one ipt with me?

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 4 of 10

J-Camper
Advisor
Advisor

@juanpablo.molinaKGVXV,

I don't think a Ton is an available option for Parameter units.  What you could do is make a unitless parameter and do a conversion from a usable Force unit type.  Like this:
temp_png.png

Message 5 of 10

bradeneuropeArthur
Mentor
Mentor

If only used in the form you don't even need parameters or properties!

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 6 of 10

juanpablo.molinaKGVXV
Advocate
Advocate
Yes, I'm here too, friend.
0 Likes
Message 7 of 10

juanpablo.molinaKGVXV
Advocate
Advocate

Here it is

0 Likes
Message 8 of 10

Curtis_Waguespack
Consultant
Consultant
Accepted solution

@juanpablo.molinaKGVXV 


I think you can change the parameter to be a text parameter as shown:

 

Curtis_Waguespack_0-1723759780483.png

 

Then in your rule calculate the kgs, convert to tons, round as needed, and add the units string

 

Curtis_Waguespack_2-1723760062715.png

 

Curtis_Waguespack_3-1723760078082.png

 

 

 

EESignature

Message 9 of 10

Michael.Navara
Advisor
Advisor

It can looks obscure, but you can use syntactically valid unit "MegaGram" (Mg) which corresponds with metric tons.

MichaelNavara_0-1723801558801.png

 

 

Message 10 of 10

juanpablo.molinaKGVXV
Advocate
Advocate

Excellent my friend, that was what I needed to do, thanks for your help.

 

 

 

 

Regards