明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1470|回复: 1

回调函数可否含有ACAD的command?

[复制链接]
发表于 2004-8-19 10:21:00 | 显示全部楼层 |阅读模式
在reactor的回调函数中可否含有ACAD的command。 我只知道在回调函数中: 1-需要避免用户的输入; 2-必须具有参数来接收reactor的参数。 我所要调用的command并不需要用户输入,输入参数我都已经设好了。
发表于 2004-8-19 10:31:00 | 显示全部楼层
  • Do not use any interactive functions in your reactor callback function (for example, do not use getPoint, entsel).

Attempting to execute interactive functions from within a reactor callback function can cause serious problems, as AutoCAD may still be processing a command at the time the event is triggered. Therefore, avoid the use of input-acquisition methods such as getPoint, entsel, and getkword, as well as selection set operations and the command function.

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-11-18 22:22 , Processed in 0.155277 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表