加载Lisp
大家好!我已经通过Appload命令加载了lisps。
但有些Lisp没有加载到我的autocad 2014中。
所以我试着通过ACADDOC加载它们。lsp文件。
但是做不到。也许你可以帮他们。
朋友们,这很简单,LISP是这样的:“C:\Program Files\Autodesk\AutoCAD 2014\Support\autolisp”
Lisp程序的名字是rrt。lsp,ocl。lsp和stm。lsp
请帮帮我,我不知道该怎么办。
提前感谢 确保路径“C:\Program Files\Autodesk\AutoCAD 2014\Support\autolisp”位于“选项>支持文件搜索路径”中。
在你的阿卡多克。lsp(或acad.lsp)写入行:
(加载“rrt”)(加载“ocl”)(加载“stm”) acad2014.lsp
;;;
;;;Use of this software is subject to the terms of the Autodesk license
;;;agreement provided at the time of installation or download, or which
;;;otherwise accompanies this software in either electronic or hard copy form.
;;;
;;;
;;;
;;; 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) 1 11) "Visual LISP")) (load "acad2014doc.lsp"))
(load "rrt") (load "ocl") (load "stm")
;; Silent load.
(princ)
不起作用。
发生了什么? 注:
;;; 该文件通常在每个AutoCAD会话中仅加载一次。
;;; 如果希望将LISP代码加载到每个文档中,
;;; 您应该将代码添加到acaddoc。lsp。
将(加载“rrt”)(加载“ocl”)(加载“stm”)放入acaddoc。lsp,非acad2014doc。lsp。
确保所有lsp文件都位于“C:\Program files\Autodesk\AutoCAD 2014\Support\autolisp”路径中,并通过将此路径放入“选项”>“文件”>“支持文件搜索路径”>“添加”(如果没有),告诉CAD知道在哪里可以找到它们。 没有阿卡多克。AutoCAD2014中的lsp文件\支持
有acad2014。lsp和acadinfo。lsp。
我不知道该怎么办。。。 做一个新的阿卡多克。lsp或acad。lsp(可以用记事本)在cad根目录中(与acad2014.lsp的位置相同)。 只要创造阿卡多克。lsp支持。
添加该行:
(加载“rrt”)(加载“ocl”)(加载“stm”)
正当 没关系,不要忘记注册lsp文件位置的选项。 抱歉耽搁了
非常感谢7o7,
工作很好!!!
今天是巴西2 x 1德国!!! 很高兴听到这个!不客气!
页:
[1]
2