CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 1493 

CAD tip CAD tip # 8986:

Question CAD 
 %  platform  category 
Q - question

Material density as a custom iProperty in Inventor.

A - answer 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)
why do married men cheat open women that cheat on their husbands
Inventor2013Inventor2012
100% *  CAD 
20.12.2012    2587x  
Comments   Tell a friend
applies to: Inventor 2013 · Inventor 2012 ·

See also:
Tip 10114:iLogic tip: returning a value on the True and False conditions.
catch a cheat wife cheated on me what causes women to cheat
Tip 9952:iLogic rule - check whether iProperties are overridden.
Tip 9935:How to distinguish between an assembly and weldment in VBA or iLogic?
husband cheated wife website redirect
Tip 9812:How to switch a drawing sheet from portrait to landscape orientation?
Tip 9692:Unfoldable spiral-helix sheet metal in Inventor.


Back   All CAD Tips All CAD tips&tricks

Control codes "%%" in text entities. « | » How to get back the Welcome screen? (unchecked Display at Start Up)
husband cheated wife married men who have affairs redirect


Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Publish interactive 3D PDF models from AutoCAD, Inventor or Revit with Share3D More info


Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist