Ta的chprop命令出错
为Lisp论坛移动帖子:这是链接我正在为talude创建一个函数。但是,在网上:
command "chprop" ULT "" "LT" "" "autotalude1" "")
它无法识别该命令。
谁能告诉我为什么?
以下是我反转属性的代码部分:
(setq ULT (entlast))
(command "pedit" ult "spline" "")
(setvar "celtype" "autotalude2")
(initget 1 "S N")
(setq inv (getkword "\nWant to Invert?<S/N>"))
(if (= inv "S")
(command "chprop" ULT "" "LT" "" "autotalude1" "")
(setvar "celtype" "autotalude1")
;(command "pedit" ULT "r" "" "yes" "" "s" "")
;(command "pedit" ult "S" "")
) 我很确定这篇文章属于LISP论坛。
我没有任何talude lisp文件(据我所知),也许你也可以发布? 我正在为talude创建一个函数。但是,在网上:
代码:
command "chprop" ULT "" "LT" "" "autotalude1" "")
它无法识别该命令。
谁能告诉我为什么?
以下是我反转属性的代码部分:
代码:
(setq ULT (entlast))
(command "pedit" ult "spline" "")
(setvar "celtype" "autotalude2")
(initget 1 "S N")
(setq inv (getkword "\nWant to Invert?<S/N>"))
(if (= inv "S")
(command "chprop" ULT "" "LT" "" "autotalude1" "")
(setvar "celtype" "autotalude1")
) 如果在getkword提示符下键入“S”,它应该可以工作。您可以尝试使用“_.chprop”来解释语言和重新定义。您也可以尝试旧的CHANGE命令。 你说的“解释语言”是什么意思? 如果您不使用英语版本的AutoCAD。 我已经合并了你们的帖子,并没有必要为同一个问题创建两个线程。若你们觉得你们发错了帖子,版主可以帮你们移动帖子。同一个问题的多个线程会让人困惑。
非常感谢。
页:
[1]