AutoCAD 2010/2011/2012 DWG Format
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Autocad gives the wrong area for a polyline
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Wait a min! Didn't you say
"The AREA command can return an invalid number, while the underlying API (Polyline Object .Area Property) returns the correct value."
?
I'm getting the wrong answer both ways in that example, unless I'm misunderstanding you?
Win 7 Pro, 32 bit; Intel Core i5 @ 2.80GHz; 4GB RAM—Civil 3D 2008 & 2011
__________________________________________________________
Credit where credit is due! Give kudos or accept as solution whenever you can.
Re: Autocad gives the wrong area for a polyline
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I'm getting the wrong answer both ways in that example, unless I'm misunderstanding you?
Unless you are using some form of programming language to obtain the Area property supplied by the API, you are not seeing it (the correct value). For example this small LISP routine will dump the properties of an object, including the area.
Re: Autocad gives the wrong area for a polyline
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I tried to use that lisp, I get:
Command: DUMP
Select Object: ; error: bad argument type: lentityp nil
Any ideas?
Win 7 Pro, 32 bit; Intel Core i5 @ 2.80GHz; 4GB RAM—Civil 3D 2008 & 2011
__________________________________________________________
Credit where credit is due! Give kudos or accept as solution whenever you can.
Re: Autocad gives the wrong area for a polyline
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Try this (slight fix)
Re: Autocad gives the wrong area for a polyline
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks for the fix.
But have a look Terry, I'm still getting the wrong area:
Win 7 Pro, 32 bit; Intel Core i5 @ 2.80GHz; 4GB RAM—Civil 3D 2008 & 2011
__________________________________________________________
Credit where credit is due! Give kudos or accept as solution whenever you can.
Re: Autocad gives the wrong area for a polyline can be corrected
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
What I found is that, copy the polyline amd move towards 0,0. List it, check with area command. I hope u may satisfy up to maximum extent.


