明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 639|回复: 1

打断插文字

[复制链接]
发表于 2019-4-21 12:49 | 显示全部楼层 |阅读模式
;***打断插文字
(defun c:ddt ()
(setq th (getdist "\请输入文字高度:"))
(setq r(* th 1.25))
(setq t (getstring "请输入要插入的文字:"))
(setq h1 (entsel))
(setq h2 (getpoint"\n选择插入点:"))
(while h2
(command "circle" h2 r)
(setq na (entlast))
(command "trim" na "" h1"")
(command "text""J""M" h2 th""t)
(command "erase" na"")
(setq h1 (entsel))
(setq h2 (getpoint"\n选择插入点:"))
  )
)

 楼主| 发表于 2019-4-21 13:08 | 显示全部楼层
;批量修改文字角度程序

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

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

本版积分规则

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

GMT+8, 2024-5-17 18:38 , Processed in 0.162265 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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