乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 24|回复: 1

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

[复制链接]

10

主题

14

帖子

1

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
54
发表于 2004-8-19 10:21:00 | 显示全部楼层 |阅读模式
在reactor的回调函数中可否含有ACAD的command。
我只知道在回调函数中:
1-需要避免用户的输入;
2-必须具有参数来接收reactor的参数。
我所要调用的command并不需要用户输入,输入参数我都已经设好了。
回复

使用道具 举报

16

主题

909

帖子

8

银币

中流砥柱

Rank: 25

铜币
973
发表于 2004-8-19 10:31:00 | 显示全部楼层
[U]
Do not use any interactive functions in your reactor callback function (for example, do not use getPoint, entsel). [/U]
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.
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-8-19 14:59 , Processed in 3.407572 second(s), 56 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表