Inventor Drawing Density Display Format

Inventor Drawing Density Display Format

paul
Advocate Advocate
1,252 Views
12 Replies
Message 1 of 13

Inventor Drawing Density Display Format

paul
Advocate
Advocate

Hello Everyone,

 

Is there anyway i can change the density reading on an inventor from gram/cm cubed to lb/ft cubed.

 

Thanks for you time and efforts, 

 

Paul - 

0 Likes
1,253 Views
12 Replies
Replies (12)
Message 2 of 13

Cadmanto
Mentor
Mentor

Hey Paul,

These are your only options under Tools>Document Settings

MASS.JPG

This will translate into your drawing if you push the mass into a text note within your drawing.

 

If you absolutely need those units, iLogic would be your only other option.

 

check.PNGIf this solved your issue please mark this posting "Accept as Solution".

Or if you like something that was said and it was helpful, Kudoskudos.PNG are appreciated. Thanks!!!! Smiley Very Happy

 

New EE Logo.PNG

Inventor.PNG     vault.PNG

Best Regards,
Scott McFadden
(Colossians 3:23-25)


0 Likes
Message 3 of 13

paul
Advocate
Advocate

So is there no i could like hide the g/cm cubed and multiply the resultant to convert. When setting up the material i punched in pounds per cubic ft, where does that stay. By the way, i do not have the ability to set UM in the the document settings for density...

 

Please let me know on your thoughts, thanks for your time, 

0 Likes
Message 4 of 13

Cadmanto
Mentor
Mentor

That setting is in the model under document settings.  When you insert your views it will become linked to your drawing.

That is why I suggested iLogic for the other part of your comment.  I am not a guru when it comes to iLogic, but this is a programming language for Inventor that allows you to do things outside of the general scope of the software.

Checkout this link and see if it helps you.

http://inventortrenches.blogspot.com/2012/05/ilogic-rule-to-change-units-of-measure.html

 

check.PNGIf this solved your issue please mark this posting "Accept as Solution".

Or if you like something that was said and it was helpful, Kudoskudos.PNG are appreciated. Thanks!!!! Smiley Very Happy

 

New EE Logo.PNG

Inventor.PNG     vault.PNG

 

Best Regards,
Scott McFadden
(Colossians 3:23-25)


0 Likes
Message 5 of 13

paul
Advocate
Advocate

There is no density inside the document settings...

 

who could help setting up an ilogic rule?

0 Likes
Message 6 of 13

Cadmanto
Mentor
Mentor

I saw you wanted to change the units of the density.  The only place to change the units is where I showed you.  The density is controlled in the material.  In my last posting, I gave you a link that might help you with the iLogic.

 

check.PNGIf this solved your issue please mark this posting "Accept as Solution".

Or if you like something that was said and it was helpful, Kudoskudos.PNG are appreciated. Thanks!!!! Smiley Very Happy

 

New EE Logo.PNG

Inventor.PNG     vault.PNG

Best Regards,
Scott McFadden
(Colossians 3:23-25)


0 Likes
Message 7 of 13

Curtis_Waguespack
Consultant
Consultant

Hi paul,

 

The Density setting is part of the Materials, and would be set in the materials library editor versus in the document.

https://knowledge.autodesk.com/support/inventor-products/learn-explore/caas/CloudHelp/cloudhelp/2017...

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

EESignature

0 Likes
Message 8 of 13

paul
Advocate
Advocate

Hello Curtis,

 

I can change the density, but i need to can the way it displays in the drawing/or on the sheet... Any idea on how i could do this? 

 

Thanks, 

0 Likes
Message 9 of 13

paul
Advocate
Advocate

Where can I set to display a density unit of measure? it is not even on the document settings window.

 

Please help me out on this, thanks,

 

Paul 

0 Likes
Message 10 of 13

swalton
Mentor
Mentor

Inventor won't do what you want out-of-the-box.  You have to do some custom programming in iLogic.

 

See http://help.autodesk.com/view/INVNTOR/2014/ENU/?guid=GUID-BEBDED71-ED75-4329-ADBA-2E5DDCCF8DE8 for some iLogic background

 

My reseller tech support gave me this code a few years ago.  I run it as an external rule, so I only add it to specific files.  I could have added it to my template files, but I did not want to bog down 1000s of components in a large assembly with something I only need in a few components.

 

Add this code as an iLogic rule to create a new custom iProperty that stores the material density in lb/ft^3.  Set the rule to run on any geometry change.

Display the new iproperty on your drawing as needed.

Code Starts:

 

Density_in_lbs_ft_cubed = Round((ThisDoc.Document.ComponentDefinition.Material.Density*62.427960841), 0)
iProperties.Value("Custom", "DENSITY_IN_LBS_PER_FT_CUBED") = Density_in_lbs_ft_cubed & " lbs/ft^3 "

 

Code Ends

 

 

 

Steve Walton
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Inventor 2025
Vault Professional 2025
0 Likes
Message 11 of 13

paul
Advocate
Advocate

Hello,

 

Could you give me step by step direction on where to paste this code, i have tried several instances and nothing seems to do anything,

 

Please see what you can do, thanks, 

 

Paul

0 Likes
Message 12 of 13

paul
Advocate
Advocate

if i change the density with this ilogic rule, should the weight change??? or just the value of measure??? it seems that only the density changes??

 

Should it not take the volume and change the Mass???

 

Thanks for your time,

0 Likes
Message 13 of 13

swalton
Mentor
Mentor

Nope.

 

The actual density of the part is controlled as follows:

1. From the assigned material (not appearance).

2. If the user overwrites the mass or volume of the part in the iProperties window, Inventor will calculate a new density based on the part's current mass and volume.

 

This rule takes the internal density value (from either method), multiplies it by a conversion factor to display lb/ft^3, and stores the result in a custom iProperty.  The user can then display that iProperty (with units) on a drawing, in a BOM or Parts List, or use it in additional calculations.

 

 

Steve Walton
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Inventor 2025
Vault Professional 2025
0 Likes