CAD FORUM - TIPS & TRICKS | UTILITIES | DISCUSSION | BLOCKS | SUPPORT | HELP & ASSISTANCE
Over 1.124.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
The new Beam calculator, Spirograph generator and Regression curves in the Converters section.
New AutoCAD 2027 commands and sys.variables
CAD tip # 8986:
Question
A
Density for parts containing a single material type can be calculated from their mass and volume.
To add a custom iProperty containing the density value in your IPT file you can use the following simple iLogic macro:
density = iProperties.Mass/iProperties.Volume
iProperties.Value("Custom", "Density") = Round(density*1000*1000, 4) & " g/cm^3"
(omit the units suffix to use Density as a number)
Inventor2013Inventor2012
20.12.2012
13840×
this tip shared by ARKANCE experts applies to: Inventor 2013 · Inventor 2012 ·
![CAD Forum - ARKANCE Community - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

What is the ARKANCE Community?