Author Topic: lastpoint on rotate  (Read 4322 times)

0 Members and 1 Guest are viewing this topic.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: lastpoint on rotate
« Reply #15 on: November 12, 2009, 11:30:05 PM »
aaahh.....

there it is...

Code: [Select]
(command "._rotate" (ssget) "")
(while (>(getvar "CMDACTIVE")0) (command pause))
(setq Lastpoint (osnap (cadr (grread 1 1)) "_end"))

Thanks Allan.. :roll:
It miss precision without Osnap..but near the goal.
The problem I ran into in my testing is that if the object you snap to is also being moved the rotate command will snap to the phantom object
but when you execute the osnap the object is no longer there & nil is returned.  :?
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.