Cesky English Deutsch
Login/Register:
 Visitors: 1646 
Become a fan of CADforum on Facebook
Follow us on Twitter
WWW server of the XANADU company (formerly: CAD Studio)

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    25275x  
Comments   Tell a friend

See also:
Tip 7023:Section modulus of 2D profiles in AutoCAD.
Tip 6820:How to draw a center of gravity point?
Tip 2261:How to display surface area of a part?
Tip 1183:How to get the center gravity of an area?


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. 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.
XANADU (CAD Studio) is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist