hello, you can refer to this LINK. thanks
No, not without an extra program.
Not ever the "pre-previous", but one defined selectionset. >> I am sure you will find a program that fit to your wish,
if you are searching for.
Basic sample
Command: (setq preprevious (ssget))
Whenever you want this selectionset, you can use !preprevious in your commandline as object selection.
Sebastian
Not possible. Would you describe your workflow for which you find such feature useful?
We can suggest you some possibilities you might have.
I can imagine that the GROUP command might help you.
I selected a group of objects, copied and pasted it in another file, but then I remembered I missed a couple of things so I went back to select the remaining objects and did the same thing again. Now I want to erase everything that I copied from the original file that I now already have in the new file.
@Jendapen wrote:Is it possible to select previous of previous?
You may be able to use SelSetStack.lsp, available >here<. Read about it on that thread, particularly the details of usage in Message 3, and in comments in the file. The one "drawback" is that it requires you to know ahead of time that you're going to want to have access to multiple previous selection sets, and make them "within the system." But see what you think.
I see. Your workflow seem to me little chaotic. I would probably erase those objects right after pasting those to another file while the selection remains "previous".
Or learn how to create a group, named or anonymous... you can create, add objects to existing group.
Yeah...
I forgot to do that, seems like I will have to go through all the objects again, select and erase them. Just thought there would be an easy solution.
Thanks for the lisp, but I don't think it would be of any use for me. Seems difficult to work like that, much easier to select with the computer mouse as usual.
@Jendapen wrote:
I selected a group of objects, copied and pasted it in another file, but then I remembered I missed a couple of things so I went back to select the remaining objects and did the same thing again. Now I want to erase everything that I copied from the original file that I now already have in the new file.
[ a n d ]
Thanks for the lisp, but ... Seems difficult to work like that, much easier to select with the computer mouse as usual.
Not so very difficult, provided [again] you anticipate the possibility. For your described process:
With the routine loaded, in Drawing 1, type SS, select whatever [including Enter to complete the selection]. Type PP to select/highlight that set, Ctrl+C [or Ctrl+Shift+C] to copy it to the clipboard, get into Drawing 2 and paste it in. Get back into Drawing 1, type SS again and select other things. Type PP again to highlight them [they're now the latest set in the "system"], copy those out, get into Drawing 2 again and paste them in.
Back in Drawing 1, type PP [for the latest set] and then E [or Delete] to erase them, then PPP [for the set prior to that, i.e. the first one] and then E. No need to re-select any objects with the mouse.
The same can be done with as many sets as you want, not just the two in this description.
That wasn't the problem, I already understood the process perfectly fine by reading Message 3 on the other thread. It's just that I don't want to work like that all the time (creating selection sets everytime I select something) since this doesn't happen very often. Just want to be able to select previous of previous in case I need it.
@Jendapen wrote:
.... Just want to be able to select previous of previous in case I need it.
I hear ya.... That does sound like a good idea, if it's something that could be implemented. You could suggest it over at the Product Feedback page.
@Jendapen wrote:
I selected a group of objects, copied and pasted it in another file, .... Now I want to erase everything that I copied from the original file...
It seems that would be appropriate to have the CUTBASE command for such job. Not sure why there isn't one... or maybe I just didn't find it... or some hidden option of some other command that I don't know about... (Kent?)
Anyway, it looks like Shift+Ctrl+X shortcut is still free and such tool might come handy...
(defun c:CUTBASE (/ cmd) (setq cmd (getvar 'CMDECHO)) (setvar 'CMDECHO 0) (command-s "_.COPYBASE") (setvar 'CMDECHO cmd) (command "_.ERASE" "_P" "") (princ) )