有没有办法玩一个有趣的游戏
你好有没有办法执行两种不同的功能,一种是按下CTRL键,另一种是释放CTRL键?
我正在尝试这样做,当启用组选择时,按住CTRL键将暂时禁用组选择,允许选择单个对象
谢谢 嗨,瓦诺姆,
如果您有Express Tools,请尝试“acet sys control down”功能。
对不起,我没有AutoCAD在这台旧笔记本电脑给你的代码样本。
HTH公司
亨里克 有趣的但是我该怎么用呢?有没有一种方法可以实现异步脚本执行或类似的功能?一个可以在后台工作且不干扰任何其他内容的循环?
非常感谢。 作为“演示”
(defun c:demo (/ p1 p2)
(alert "Press control down to draw a circle, or \ndon't press control down to draw a line")
(if (and (setq p1 (getpoint "\nSelect the first point: "))
(setq p2 (getpoint "\nSelect the second point: "))
)
(if (acet-sys-control-down)
(command "_.circle" "none" p1 "none" p2)
(command "_.line" "none" p1 "none" p2 "")
)
)
(princ)
)
HTH公司
亨里克
页:
[1]