品茗新秀 发表于 2014-3-20 23:29:53

求选择文字和封闭多线,即会在文字和封闭多线形成引线

求选择文字和封闭多线,即会在文字和封闭多线形成引线,引线图层同文字

原图



达到要求图



注文字可能在多线的四角的其中一角,引线 对应最近多线的角




yjr111 发表于 2014-3-20 23:29:54

搞完PLC,算是放松一下


菜卷鱼 发表于 2014-3-21 08:32:39

封闭多线都是矩形?

77077 发表于 2014-3-21 11:32:40

(textbox enlist)求出文本外框,求出pt1 pt2 pt3 pt4
点击要标注到的点pt,判断pt点与box的位置关系,
(cond)连接pt-pt1或者pt-pt2或者pt-pt3或者pt-pt4

祝你成~~~

flyfox1047 发表于 2014-3-21 12:00:54

It's like you are trying to drive a nail with a pile driver rather than a hammer. A lisp routine to do this seems like overkill to me.

This is not a LISP-ON-DEMAND forum, everyone here VOLUNTEERS time to HELP others in their CAD related endeavors. You were already warned in a previous thread about this attitude. If you NEED a LISP, then contact someone to do this for you for a fee.

xyp1964 发表于 2014-3-21 12:56:35


品茗新秀 发表于 2014-3-21 18:01:34

菜卷鱼 发表于 2014-3-21 08:32 static/image/common/back.gif
封闭多线都是矩形?

封闭多线不一定是矩形,

xyp1964 发表于 2014-3-21 19:30:23

品茗新秀 发表于 2014-3-21 18:01 static/image/common/back.gif
封闭多线不一定是矩形,

适于任意多段线:

xyp1964 发表于 2014-3-21 19:38:16


cable2004 发表于 2014-3-21 21:41:31

示意图片是矩形,也适于任意多段线!
页: [1] 2
查看完整版本: 求选择文字和封闭多线,即会在文字和封闭多线形成引线