CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 3503

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    90233×  

See also:
Tip 11054:Difference volume (3D solid) between two TIN surfaces (sets of coordinates)
Tip 9952:iLogic rule - check whether iProperties are overridden.
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



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:
Track your time spent working on AutoCAD or Revit jobs - automatically with
CADstudio JobTime More info


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