vlisp-compile (AutoLISP/Visual LISP IDE)
将 AutoLISP 源代码编译为 FAS 文件 支持的平台:仅限 Windows 签名(vlisp-compile 'mode filename [out-filename])
返回值类型:T 或 nil T,如果编译成功;否则。nil 言论注意:Visual LISP IDE 必须处于打开状态才能正常工作。vlisp-compile
例子假设 yinyang.lsp 位于 AutoCAD 支持文件搜索路径中的目录中,则以下命令将编译此程序: (vlisp-compile 'st "yinyang.lsp") T 输出文件名为 yinyang.fas,与源文件位于同一目录中。 以下命令编译 yinyang.lsp 并将输出文件命名为 GoodKarma.fas: (vlisp-compile 'st "yinyang.lsp" "GoodKarma.fas") 请注意,上一个命令的输出文件位于 AutoCAD 安装目录中,而不是 yinyang.lsp 所在的目录中。以下命令编译 yinyang.lsp 并将输出文件定向到 c:\my documents 目录: (vlisp-compile 'st "yinyang.lsp" "c:/my documents/GoodKarma") 最后一个示例标识要编译的文件的完整路径: (vlisp-compile 'st "<AutoCAD installation directory>/Sample/yinyang.lsp") 此命令的输出文件名为 yinyang.fas,与输入文件位于同一目录中。 |
|Archiver|CAD开发者社区
( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-6-3 05:55
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.