明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1925|回复: 4

为啥没有拖动效果?(command "_.text" pause 3 0 "AAA")

[复制链接]
发表于 2004-12-8 09:23:00 | 显示全部楼层 |阅读模式
(command "_.text" pause 3 0 "AAA")不见拖动效果,怎么办才能有拖动效果?
发表于 2004-12-8 10:33:00 | 显示全部楼层
After the insertion of the text, use Grread to trace the cursor position and at the same time, update the insertion of the text.
 楼主| 发表于 2004-12-8 11:24:00 | 显示全部楼层
谢谢alin,能写出代码吗?
发表于 2004-12-8 16:28:00 | 显示全部楼层
参考一下 (defun c:xz( / m_wz m_pt)
(setq m_wz "AAA")
(setq m_pt (getvar "viewctr"))
(command "text" "mc" m_pt 3 0 m_wz)
(command "block" "m_blocktmp" m_pt (entlast) "")
(princ"\n标注点:")
(command "insert" "m_blocktmp" pause "" "" "")(command) (command"explode" (entlast))(command)
(command"-purge" "b" "m_blocktmp" "y" "y")(command)

(princ)
)
 楼主| 发表于 2004-12-8 20:15:00 | 显示全部楼层
非常好,谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-30 02:13 , Processed in 0.156864 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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