Sorry I didn't explain what I'm trying to do very well. I do already use the lasso tool to select. The idea is that we select an area of the drawing, then run the macro to delete all the 'Border' line type within the selection. If just part of a grouped element is selected, all the 'Border' lines in that grouped item that lie within the selection are deleted - which is OK. However, if a whole grouped element is within the selection, the macro won't delete any of the 'Border' line type in that grouped element - which is not OK. I'm just trying to find a way to make it look for and remove the 'Border' line type in a selected area of the drawing, including grouped elements. The ME10 macro language had a global function to make it work through everything selected, but there doesn't seem to be one in Isodraw.