CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 1787 

CAD tip CAD tip # 7648:

Question CAD 
 %  platform  category 
Q - question

Area not displayed for some boundaries or hatches.

A - answer The Properties window, the AREA command and some LISP utilities based on the AREA command and the variable PERIMETER do not show the value of area nor length for some boundary curves in AutoCAD 2010, 2011 and higher.

AutoCAD 2010 (in fact the version 2009 with Bonus Pack) has changed the algorithm for calculating areas and perimeters. You can no longer use these on self-intersecting and self-touching curves. Make sure your boundary curve is a closed polyline which touches only at its start point and end point.

Modify your AutoLISP routines to use (vlax-get object 'Length) instead of the combination AREA/PERIMETER.

ACAD2010ACAD2011
100% *  CAD 
16.11.2010    14845×  
Prices - CAD eShop:
applies to: AutoCAD 2010 · AutoCAD 2011 ·

See also:
Tip 12287:AutoCAD hatch flood-fill does not honor all boundaries.
Tip 12129:Atypical use of meshing for tiling a closed shape.
Tip 7916:Searching for hatches with missing Area property.
Tip 7654:Three methods for transparent images in AutoCAD.
Tip 6031:AutoCAD: Do you really want to do this?


Back   All CAD Tips All CAD tips&tricks



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