在写入和测试阶段自动更新

Autoupdating when during Write-and-test stages

这是一个一般性问题,与特定代码无关。

您在编写和测试例程时是如何工作的?当我用记事本更新代码时,我的 autocad 没有 "react",所以我必须关闭文件,再次打开它,然后再次(加载 "filename")。

我确信有更好的方法可以做到这一点,但我搜索了一下但找不到(或无法理解)答案。谢谢

强烈建议使用 AutoCAD 中免费提供的开发环境来编写、测试和调试您的代码。此实用程序称为 Visual LISP 集成开发环境 (VLIDE)。

我写了一个basic introduction tutorial describing how to access & use this environment, but you can also find a wealth of information in the standard documentationAutodesk提供的