Fabricio28 发表于 2013-6-13 17:00:40

删除图层

嗨,
我想更改Laydel命令的默认选项。
使用命令后
您想继续吗?[是/否]

我想更改为yes
。可以吗?
谢谢
**** Hidden Message *****

BlackBox 发表于 2013-6-13 17:21:00

(defun c:FOO ()
(command "._laydel" pause "" "y")
(princ)
)

Fabricio28 发表于 2013-6-13 17:46:54


您好,BlackBox
感谢您的重播
未能运行您的代码。

BlackBox 发表于 2013-6-13 17:49:04


嗨,黑盒
感谢您的重播
没有工作您的代码。

这里工作正常:
Command: foo
._laydel
Select object on layer to delete or :
Selected layers: FOO.
Select object on layer to delete or :
******** WARNING ********

You are about to delete layer "FOO" from this drawing.

Do you wish to continue? : y

Deleting layer "FOO".
1 layer deleted.
Hatch boundary associativity removed.
Hatch boundary associativity removed.
Command:

Fabricio28 发表于 2013-6-13 19:50:49

哇!真的很抱歉。你是对的。
工作正常。
我有点匆忙,我犯了一个错误。:丑陋:
非常感谢!

BlackBox 发表于 2013-6-15 02:05:44

不客气;我很乐意帮忙。:啤酒:
页: [1]
查看完整版本: 删除图层