CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.096.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator and the updated Barcode generator. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 7916:

Question

CAD 
 %  platform  category 
A
AutoCAD drawings may contain hatches which - mostly due to the loss of associativity - do not have the "Area" property and so you cannot use them to summarize the total area. For area calculations you will need to fix them first - reconstruct their boundary curve and re-create the hatch. Such hatches typically come from Microstation.

To identify such complaining hatches, we made a LISP utility SelHatch0 - it selects all hatches that do not contain the property Area - so e.g. the Properties windows doesn't display the area of such hatch object. The command DelHatch0 then allow to bulk-delete such "null" hatches.

You can download the SelHatch0 utility from DL Download, load it with APPLOAD and run it with the command SELHATCH0 or DELHATCH0. The complaining hatches will be pre-selected for editing.

If you only have AutoCAD LT (<2024) and cannot use the LISP utility, the selection filtering will help. Use the QSELECT command, use the "Select Objects" button to select all objects in the drawing (by window), select Hatches as the Object Type, select the Area property, and as a criteria, specify "Is greater than" value 0. Click "Remove from new selection set". After confirming the dialog, you will be left with the selected hatches that do not show Area.

ACADACLTADTACADMPlantMapCivil3D
100% *CAD
15.4.2011    20304×  
Share the tip:
Digg it! Del.icio.us Facebook Twitter Google bookmark Technorati StumbleUpon

See also:
Tip 13960:Fermat's spiral in AutoCAD.
Tip 13788:Green square - mathematical charade and parametric constraints in AutoCAD.
Tip 13150:How to hatch selected objects including overlays and islands?
Tip 12633:Sol2SolH - convert DWG objects of the type Solid to Hatches
Tip 12429:HatchOverlap - check for any overlapping hatches in a DWG


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:
Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools 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