反应堆后的清理 
反应堆确实非常活跃。当您设计依赖于它们的应用程序时,您很可能会花费大量时间使程序崩溃,并可能使AutoCAD崩溃。如有必要,有一个工具可以移除您添加的所有反应器会有所帮助。 gpreact.lsp 文件包含一个函数,该函数本身不会做太多事情。相反,它会调用该函数。通过将以下代码复制到文件末尾,将此函数添加到 utils.lsp 文件:gp:clean-all-reactorsCleanReactors ;;;--------------------------------------------------------------;
;;;     Function: CleanReactors                                  ;
;;;--------------------------------------------------------------;
;;;  Description: General utility function used for cleaning up  ;
;;;               reactors. It can be used during debugging, as  ;
;;;               well as cleaning up any open reactors before   ;
;;;               a drawing is closed.                           ;
;;;--------------------------------------------------------------;
(defun CleanReactors ()
  (mapcar 'vlr-remove-all
         '(:VLR-AcDb-reactor
           :VLR-Editor-reactor
           :VLR-Linker-reactor
           :VLR-Object-reactor
          )
  )
)
 | 
|Archiver|CAD开发者社区
( 苏ICP备2022047690号-1   苏公网安备32011402011833)
GMT+8, 2025-11-4 15:10
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.