CAD粘贴卡死的解决方法
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
很多时候,autocad2006以上版本绘图过程中,偶尔会遇到编辑某些dwg 文件时,复制、粘贴非常慢,甚至假性卡死,等你上完厕所回来还没有粘贴成功的情况。本人一直在同行以及网上寻找解决方案近一年而不得,反而在寻找过程中发现很多人反映都碰到过此问题,但是都苦于无法解决。
后来在一次偶然的机会,发现了一篇只有一百多字的博文,里面所提到的方法终于解决了此问题,本人在此共享出来,以使博主的发明惠及更多的同行。
解决方法很简单,就是在CAD的安装目录下的Support文件夹下面,有一个名字叫acad2008的lisp文件(其他版本的应该叫acad2007或者acad2006吧),将以下代码添加到此文件的最后即可:
(princ)
(command"-scalelistedit""reset""y""e") (command"-view""_top") (command"mtexted"".")
最终得到的整个lisp文件全部内容如下(前面的为该文件内原有代码)
;MODULE_ID ACAD2007_LSP_
;;;ACAD2008.LSP Version1.0for AutoCAD2008
;;;
;;;Copyright(C)1994-2007by Autodesk,Inc.
;;;
;;;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.
;;;
;;;AUTODESK PROVIDES THIS PROGRAM"AS IS"AND WITH ALL FAULTS.
;;;AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
;;;MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE.AUTODESK,INC. ;;;DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE ;;;UNINTERRUPTED OR ERROR FREE.
;;;
;;;Use,duplication,or disclosure by the ernment is subject to
;;;restrictions set forth in FAR52.227-19(Commercial Computer ;;;Software-Restricted Rights)and DFAR252.227-7013(c)(1)(ii) ;;;(Rights in Technical Data and Computer Software),as applicable. ;;;
;;;.
;;;
;;;Note:
;;;This file is normally loaded only once per AutoCAD session.
;;;If you wish to have LISP code loaded into every document, ;;;you should add your code to acaddoc.lsp.
;;;
;;;Globalization Note:
;;;We do not support autoloading applications by the native ;;;language command call(e.g.with the leading underscore ;;;mechanism.)
(if(not(=(substr(ver)111)"Visual LISP"))(load "acad2008doc.lsp"))
;;Silent load.
(princ)
(command"-scalelistedit""reset""y""e") (command"-view""_top") (command"mtexted"".")