CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.
Topic: multiline text to multileader conversion Posted: 01.Sep.2011 at 08:47
Hi, I'm trying to find routine that will change my MTEXT to MLEADER. I have found sth common on autodesk discussion group:
; MTXT.LSP Match Text updated to use mleaders
;; Match Text, pick text with desired text value, then
;; pick text to be changed.
;=================================================
========
(defun C:MTXT ( / edata edata1 etype etype1 EL CVALUE EN BN)
(setq EL (entget (car (nentsel "\nPick Text (From)...")))
etype (cdr (assoc 0 EL)))
(setq EN (car (nentsel "\nPick Text (To)....."))
edata1 (entget EN)
etype1 (cdr (assoc 0 edata1)))
What this routine do is: 1. you have to select MTEXT to collect text 2 you have to select MLEADER to paste text. and that's it
But what I really want is that after selecting MTEXT leader line will immediadetly "grow" from the MTEXT and I will just have to place leader line in proper position. So I want to substitute MTEXT with MLEADER "in place".
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum