chavlji Posted October 2, 2009 Posted October 2, 2009 Is it possible in lisp to acheive effect like in Autocad's MOVE command? When user is deciding for the destination point, the selection visually follows mouse cursor... Selection is beeing constantly drawn. GetPoint has no such option I think... Quote
Lee Mac Posted October 2, 2009 Posted October 2, 2009 I can visualise three ways to accomplish this. 1> (command "_.move" <selectionset> '(0 0 0) pause) 2> With the use of the Express Tools function: (acet-ss-drag-move) 3> Using a GrRead loop to track cursor movements and update the position of the objects accordingly. Although this method restricts use of Ortho and OSnap. Quote
Lee Mac Posted October 2, 2009 Posted October 2, 2009 For help on the GrRead method, see here: http://www.cadtutor.net/forum/showthread.php?t=37420 http://www.cadtutor.net/forum/showthread.php?t=35234 http://www.cadtutor.net/forum/showthread.php?t=36273 Quote
chavlji Posted October 6, 2009 Author Posted October 6, 2009 Uou, Man! Thanks. I'll go for this GrRead method. Although it might be slow drawing some huge amount of objects... i think it draws it in snap not gradually (like in move tool). Havent checked it jet (no time). But i'll try it soon. BTW this DINFO tool is amazing! Didnt thought something like this can be done with pure Lisp. Quote
Lee Mac Posted October 6, 2009 Posted October 6, 2009 Uou, Man! Thanks. I'll go for this GrRead method. Although it might be slow drawing some huge amount of objects... i think it draws it in snap not gradually (like in move tool). Havent checked it jet (no time). But i'll try it soon. BTW this DINFO tool is amazing! Didnt thought something like this can be done with pure Lisp. hehe thanks Glad you like it Quote
chavlji Posted October 17, 2009 Author Posted October 17, 2009 Just done some testing with GRRead... Great function, but since it does not allow OSnap it is useless for geometry transformations (moving, rotating,...) I know OSnap can be built in Lisp from scratch, but hej... even the whole Autocad can be Quote
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.