CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE

CAD tip CAD tip # 3972:

Question

CAD 
 %  platform  category 
A
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    96248×  
this tip shared by ARKANCE experts applies to: AutoCAD · AutoCAD Architecture · AutoCAD Map 3D ·

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
  



Featuring:
Revit plugins for automating data management, opening creation for clashes, and documentation Be.Smart Core Collection More info


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