CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 7520

CAD tip CAD tip # 7916:

Question CAD 
 %  platform  category 
Q - question

Searching for hatches with missing Area property.

A - answer 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.

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.

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

If you only have AutoCAD LT 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.

100% *  CAD 
15.4.2011    18490×  

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 glossary   

Increase your productivity with our set of BIM add-on functions for Autodesk Revit
CADstudio Revit Tools More info

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