Hello,
i've been using impoly for drawing polygon in a blank figure, and then use the pos=getPosition(h) function to get the position of the drawn polygon. but the problem is, when i changed the corner of the drawn polygon, the "h=getPosition" function won't retrieve (update) the new position, is there a way to update the position while we change the corner?.
also, suppose that i draw a few polygon in a figure using only "h=impoly" then i want to delete one of the previous polygons (by choosing one of the drawn polygons to be deleted). i have used the "delete(h)" command but only the previous body that can be deleted.
thanks in advance 🙂
Best Answer