Jump to content

Lisp to report negative area for a polyline


EricL

Recommended Posts

Hello, I am working in AutoCAD 2010 and am looking for a LISP routine to report the area of counterclockwise polyline loops as a positive value and clockwise polyline loops as a negative value(as with the right hand rule). For example, if I have a poly line that crosses over itself multiple times creating several loops of different areas with the majority of the area coming from clockwise loops I would want the total area reported as a negative value instead of the absolute value that is reported in the propertes of the line. Does anybody know of anything that fits the bill? Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...