huiz 发表于 2015-12-22 22:53:58

发送插入命令和控制编辑器交互

**** Hidden Message *****

huiz 发表于 2015-12-22 23:01:10

InOutBLk是线程关注的命令,其他命令在插入后爆炸,等等。
此外,如果您只是注释依赖项,这里是SendCancel方法
公共静态void SendCommand(此文档文档,字符串命令)
{
动态acadDoc=doc.GetAcadDocument()
acadDoc.SendCommand(命令)
}
//
///发送取消命令。
//
//
文件。
公共静态无效发送取消(本文档)
{
doc.SendCommand(“\x03\x03”)
}

BlackBox 发表于 2015-12-23 03:55:06

翻译错误代码(429):请求 QPS 超过限制。

huiz 发表于 2015-12-23 11:08:13

翻译错误代码(429):请求 QPS 超过限制。

huiz 发表于 2015-12-24 04:01:15

AutoCAD有一个MULTIPLE命令来重复其他命令。
Command: MULTIPLE
Enter command name to repeat: -insert
Enter block name or [?] : MyBlock
Specify insertion point or :
Enter X scale factor, specify opposite corner, or :
Enter Y scale factor :
Specify rotation angle :
-INSERT
Enter block name or [?] :
Specify insertion point or :
Enter X scale factor, specify opposite corner, or :
Enter Y scale factor :
Specify rotation angle :
-INSERT
Enter block name or [?] :
Specify insertion point or :
Enter X scale factor, specify opposite corner, or :
Enter Y scale factor :
Specify rotation angle :
-INSERT
Enter block name or [?] : *Cancel*

但是自己编码这种行为也很酷

BlackBox 发表于 2015-12-24 13:40:35

翻译错误代码(429):请求 QPS 超过限制。

BlackBox 发表于 2015-12-24 19:08:36

翻译错误代码(429):请求 QPS 超过限制。
页: [1]
查看完整版本: 发送插入命令和控制编辑器交互