Steven P Posted February 14 Share Posted February 14 Not quite 'last point' doesn't get either of the points used in the selection, the last point is the one before the selection set. This one will get the mouse pointer as reference and grab the point when you hit 'enter' at the end of the selection set selection, (defun c:qmove ( / pt1 MySS) (while (setq MySS (ssget)) (setq pt1 (cadr (grread t 15 0)) ) (command "move" MySS "" pt1 pause ) ) (princ) ) 1 Quote Link to comment Share on other sites More sharing options...
pkenewell Posted February 14 Share Posted February 14 (edited) 15 minutes ago, Steven P said: Not quite 'last point' doesn't get either of the points used in the selection, the last point is the one before the selection set. You're right! good catch! Updated my previous post to match your solution. Edited February 14 by pkenewell 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.