求教一行代码连续执行第三方插件命令
(defun c:LU()(c:yq_lineunion)(yq_formlaybycolor "P" "")(princ))
yq_lineunion和yq_formlaybycolor是源泉设计插件已经定义过的命令,这句无法执行,应该怎么写,能同时执行第三方插件的两个命令,第一个命令是手动选择对象,第二个命令是按“p”选择上一个选择集
(defun c:LU()(c:yq_lineunion)(command "OVERKILL" "P" "")(princ))
yq_lineunion是源泉设计插件已经定义过的命令,如果后面跟的是CAD自带的命令,是可以运行的。
(defun C:tt()
(c:yq_lineunion)
(sssetfirst nil (ssget "P"))
(c:yq_formlaybycolor)
(sssetfirst nil (ssget "P"))
(command "OVERKILL" "")
(princ)
)
页:
[1]