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

CAD tip CAD tip # 3972:

Question CAD 
 %  platform  category 
Q - question

How to find volume of a 3D solid in AutoCAD?

A - answer Use the MASSPROP command - it will list the volume (and other characteristics) of the selected 3D solids (ACIS bodies).

You can also use the following LISP routine (thanks to MikD):

(defun c:vol ()
  (alert
    (strcat "Volume is "
	    (rtos (/ (vlax-get-property
		       (vlax-ename->vla-object (car (entsel)))
		       'volume
		     )
		     1000000000.0 ;mm->m3
		  )
		  2
		  2 ;decimal places
	    )
	    " m3"
    )
  )
  (princ)
)
ACADADTMap
100% *  CAD 
10.8.2004    68499x  
Comments   Tell a friend

See also:
Tip 9952:iLogic rule - check whether iProperties are overridden.
Tip 9659:iLogic: adjusting model parameters to match model volume or mass
Tip 8718:How to show COG of subassemblies in an Inventor drawing?
Tip 8271:Always print Inventor drawings with updated Mass values.
Tip 7023:Section modulus of 2D profiles in AutoCAD.


Back   All CAD Tips All CAD tips&tricks

Where to find arabic fonts for AutoCAD? « | » How to import formatted paragraph text into AutoCAD?

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:
Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 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