+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Richard Martin
    Guest

    Default Drawing with a Closed / Hatched Polyline

    Registered forum members do not see this ad.

    I am writing a routine in lisp to help users measure areas using a polyline, the old system I used closed the polyline and hatched on the fly as each point of the polyline was added so the user could see at any point what the final area would look like.

    I would like to replicate this in Lisp - does anyone have any advice as to how this could be achieved.

    Ideally I need something like (ssGet "_WP") which is rubber banding but which returns the points selected rather than the entities within the area.

  2. #2
    Forum Deity
    Using
    not specified
    Join Date
    Jul 2004
    Location
    Anchorage, Alaska
    Posts
    2,074

    Default

    Registered forum members do not see this ad.

    Using lisp you could do it the same as your old wa - hatch on the fly, erase and redraw as each point is selected. Does the "area" command give an aarae as you pick points? (don't have AutoCAD here to check).

    If you just want to report area (rather than show hatch) you could have the lisp calculate area using the basic polygon-area formula.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts