箭头_Row 发表于 2024-4-15 23:40:41

https://forums.autodesk.com/t5/net/how-to-execute-command-from-command-that-has-session-flag/m-p/6937308/highlight/true#M52455

加了CommandFlags.Session標籤的貌似無法用Editor.Command。

你有种再说一遍 发表于 2024-4-17 20:55:30

本帖最后由 你有种再说一遍 于 2024-4-17 20:56 编辑

箭头_Row 发表于 2024-4-15 23:40
https://forums.autodesk.com/t5/net/how-to-execute-command-from-command-that-has-session-flag/m-p/693 ...
session会话,意思就是跨文档通讯,在html都有...
既然要跨文档怎么还可能是同步呢?
如果此时要同步不如:直接用函数.

楼主遇到的问题是,异步队列排队运行.
解决方案是异步命令发送出去,这个异步命令里面套接下来的任务

不过最后因为要炸开API命令的各异问题,不了了之

lin091 发表于 2024-5-10 22:38:04

试试调用lisp命令,炸开在lisp中操作

舒三 发表于 2024-5-21 20:00:27

用COMacadapplication.sendstring方法

羊羊羊 发表于 2024-11-30 18:23:11

Editor.Command好使
页: 1 [2]
查看完整版本: 想基于C#实现发送命令,同步