乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 19|回复: 19

[编程交流] CopyStored.lsp - Copy stored o

[复制链接]

54

主题

3755

帖子

3583

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
438
发表于 2022-7-5 13:45:15 | 显示全部楼层 |阅读模式
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).
 

 
  1. ;;; ------------------------------------------------------------------------;;;    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
回复

使用道具 举报

51

主题

481

帖子

457

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
262
发表于 2022-7-5 13:49:29 | 显示全部楼层
alanjt
thanks for sharing your ideas with us
Good and useful routine
回复

使用道具 举报

54

主题

3755

帖子

3583

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
438
发表于 2022-7-5 13:54:49 | 显示全部楼层
You're very welcome.
Thanks for the compliments.
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-5 13:56:22 | 显示全部楼层
Nice idea Alan, I should imagine that it would come in quite handy
回复

使用道具 举报

54

主题

3755

帖子

3583

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
438
发表于 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.
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 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)...
回复

使用道具 举报

54

主题

3755

帖子

3583

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
438
发表于 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.
回复

使用道具 举报

1

主题

316

帖子

311

银币

初来乍到

Rank: 1

铜币
29
发表于 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
回复

使用道具 举报

54

主题

3755

帖子

3583

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
438
发表于 2022-7-5 14:13:16 | 显示全部楼层
 
HaHa, thanks. Coming from you, I consider that quite a compliment.
回复

使用道具 举报

1

主题

316

帖子

311

银币

初来乍到

Rank: 1

铜币
29
发表于 2022-7-5 14:13:58 | 显示全部楼层
 
i got same problem everytime i use that software before
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-14 23:27 , Processed in 1.417986 second(s), 73 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表