Author Topic: sssetfirst a nested entity inside a block?  (Read 5493 times)

0 Members and 1 Guest are viewing this topic.

Lee Mac

  • Seagull
  • Posts: 12912
  • London, England
Re: sssetfirst a nested entity inside a block?
« Reply #15 on: March 02, 2015, 08:51:29 AM »
@ Lee:
A question about your (LM:endundo) function. Why do you use (while ...)? It is not possible to have nested undo groups. Well, at least it is not possible in BricsCAD.

I saw no reason to make the assumption that nested undo groups were not possible on every CAD platform offering LISP support, and if undo groups are indeed not supported on a particular CAD platform, the use of while over if will only result in the test expression being evaluated one additional time (hardly a performance hit).


zasanil

  • Guest
Re: sssetfirst a nested entity inside a block?
« Reply #16 on: March 02, 2015, 09:30:45 AM »
Thanks Lee! That's what I was needing.
I guess I need to learn the visual lisp stuff in parallel with the regular lisp.

Lee Mac

  • Seagull
  • Posts: 12912
  • London, England
Re: sssetfirst a nested entity inside a block?
« Reply #17 on: March 02, 2015, 10:15:18 AM »
Thanks Lee! That's what I was needing.
I guess I need to learn the visual lisp stuff in parallel with the regular lisp.

You're welcome! :)

It's all about selecting the right tool for the job - some tasks are easier with Vanilla, some are easier (and only possible) using Visual.