Leo, I think I misinterpreted your previous post. I think you want this: selectedPoints=foreach(mapcan (sel pt) geGetSelSetFigPoint(shapeId) list(shapeId~>beginPt shapeId~>endPt) sel && list(pt)) That will be a list of whichever points were selected (so if only one end is selected, it will be a list of one point) Andrew
↧