反应堆确实非常活跃。当您设计依赖于它们的应用程序时,您很可能会花费大量时间使程序崩溃,并可能使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-10-29 14:20
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.