alanjt 发表于 2022-7-5 13:45:15

CopyStored.lsp - Copy stored o

Something I was playing around with a while back. I use it form time to time. Made a little update yesterday and thought I'd add it here.
 
Will allow you to select a group of objects and store them for later copying. This objects are stored in a global variable and do not have anything to do with the Clipboard. Once you store the objects, you can continue performing any normal functions and when you are ready to have those stored objects to place somewhere else, just execute the command.
 
Call with Copystored or CS
 
Sorry for the choppy video, I had to cut the frames to keep file size down (not sure what's going on with Camtasia).
 

 

;;; ------------------------------------------------------------------------;;;    CopyStored.lsp v1.3;;;;;;    Copyright© 08.18.09;;;    Alan J. Thompson (alanjt);;;;;;    Permission to use, copy, modify, and distribute this software;;;    for any purpose and without fee is hereby granted, provided;;;    that the above copyright notice appears in all copies and;;;    that both that copyright notice and the limited warranty and;;;    restricted rights notice below appear in all supporting;;;    documentation.;;;;;;    The following program(s) are provided "as is" and with all faults.;;;    Alan J. Thompson DOES NOT warrant that the operation of the program(s);;;    will be uninterrupted and/or error free.;;;;;;    Allows user to select object(s) for copying (uses first object in;;;    selection for insertion point or specified point) and stores;;;    selection set and insertion point for later usage.;;;;;;    Express Tools "acet-ss-drag-move" subroutine required.;;;;;;    Revision History:;;;;;;    v1.1 (09.29.09) 1. Changed copy method.;;;            2. Updated error handler;;;            3. Added AT:SS->List subroutine.;;;;;;    v1.2 (12.15.09) 1. Updated to account for non WCS (oversite).;;;;;;    v1.3 (02.23.10) 1. Added check if "acet-ss-drag-move" is loaded.;;;            2. Added option to specify copy base point.;;;;;; ------------------------------------------------------------------------
CopyStored.lsp

asos2000 发表于 2022-7-5 13:49:29

alanjt
thanks for sharing your ideas with us
Good and useful routine

alanjt 发表于 2022-7-5 13:54:49

You're very welcome.
Thanks for the compliments.

Lee Mac 发表于 2022-7-5 13:56:22

Nice idea Alan, I should imagine that it would come in quite handy

alanjt 发表于 2022-7-5 13:58:23

Thanks Lee.
I make use of it when I'm working on a big stretch of road and have some label/object(s) that I want to use over and over. It saves me from dealing with Clipboard or panning back to where I last placed the label/object.
 
Another one (four to be precise), that predates my writing of this code:
http://www.cadtutor.net/forum/showpost.php?p=305501&postcount=80
I still use these as well. All are useful in certain situations. I'm lazy but like to make the most out of my day.

Lee Mac 发表于 2022-7-5 14:02:49

 
Yeah, the Clipboard is pretty slow when used through AutoCAD (not to mention a hassle to use with LISP also)...

alanjt 发表于 2022-7-5 14:05:00

No kidding. Plus, too many times, I've Clipboard'ed something to only forget and flip over to my web browser and accidentally clipboard something.

wizman 发表于 2022-7-5 14:09:00

i had similar routine before but not anymore going to use it since i tried this:
 
http://labs.blogs.com/its_alive_in_the_lab/2009/09/october-plugin-of-the-month-clipboard-manager-for-autocad-available-now.html

alanjt 发表于 2022-7-5 14:13:16

 
HaHa, thanks. Coming from you, I consider that quite a compliment.

wizman 发表于 2022-7-5 14:13:58

 
i got same problem everytime i use that software before
页: [1] 2
查看完整版本: CopyStored.lsp - Copy stored o