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.




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