乐筑天下

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

[编程交流] Align text on lines, arcs and

[复制链接]

6

主题

23

帖子

15

银币

初来乍到

Rank: 1

铜币
33
发表于 2022-7-6 06:11:09 | 显示全部楼层 |阅读模式
Here is another download link of my lisp file
I've just upgrade it. To professionals, it is a little bit too messy. But it is very useful to me for years working with AutoCAD.
There are 2 commands: ALT(AlignText) and = (Match text value)
"ALT" would ask you to select text, or mtext, or attribute definition, or attribute reference, then pick on lines, or arcs, or polylines (within block or xref all ok)
The selected text would be align the same as the current dimension style. You can press TAB to flip to either side, or M or C to switch to move or copy text method.
"=" command would ask you to select any text source (dimension or attribute ok) then copy the text content to other text targets.
This video would give you a good preview:
http://www.youtube.com/watch?v=jtUH6cYu1mw
What a pitty that this ALT doesnot work with circle.
I am going to upgrade it and some more lisps. Hope you like it
 
Update New Version on App Exchange Store
ALIGN TEXT (ALT).LSP
回复

使用道具 举报

22

主题

326

帖子

185

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
243
发表于 2022-7-6 06:50:49 | 显示全部楼层
Well done
 
P/s : dạo này 7cad còn nhiều người phát triển không a Linh ?
回复

使用道具 举报

6

主题

23

帖子

15

银币

初来乍到

Rank: 1

铜币
33
发表于 2022-7-6 06:53:59 | 显示全部楼层
I found there are about 3 other align text commands by Lee Mac. They are all genius. Though, this ALT command still a good different choice. Ain't pretty but works.
@ketxu: There is a good one: YourSteel Do you think you can translate it to .NET ?
回复

使用道具 举报

22

主题

326

帖子

185

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
243
发表于 2022-7-6 07:18:36 | 显示全部楼层
Yeah, may be, with VBA code u can tranfer to VB.net ^^
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-10 18:23 , Processed in 0.445566 second(s), 71 queries .

© 2020-2025 乐筑天下

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