LISP for text to multileader?

LISP for text to multileader?

jboyceQPURR
Contributor Contributor
4,274 Views
9 Replies
Message 1 of 10

LISP for text to multileader?

jboyceQPURR
Contributor
Contributor

Whenever I export from Revit to CAD, all the annotations get broken up, so it's MTEXT and then the arrow/line are separate. Is there a lisp to convert all that text and make a multileader out of it? I don't wanna copy and paste each one into a multileader.

 

Thanks!

0 Likes
Accepted solutions (1)
4,275 Views
9 Replies
Replies (9)
Message 2 of 10

devitg
Advisor
Advisor
Please upload a sample dwg
0 Likes
Message 3 of 10

sean.keohane
Advocate
Advocate
Accepted solution

Hi,

I'm not sure where I got this one but it copies a selected text string to a multileader, might be what you need.

regards

Sean

Message 4 of 10

jboyceQPURR
Contributor
Contributor

That was it! thank you very much. 

0 Likes
Message 5 of 10

Imanthie_BandaraCPANR
Explorer
Explorer

Hello, what's the command I need to use after loading this lisp?

0 Likes
Message 6 of 10

jboyceQPURR
Contributor
Contributor

"AM"

0 Likes
Message 7 of 10

Sea-Haven
Mentor
Mentor

in most lisps posted here you will see (defun C:..... the C: implies this defun can be invoked by typing its name as a command. A simple method so you dont forgot how to run.

 

Look at end of code.

  )
  (princ)
) 

change to 
  )
(princ "\nTo run command Type AM ")
  (princ)
) 

 

 

 

0 Likes
Message 8 of 10

Imanthie_BandaraCPANR
Explorer
Explorer
I loaded the lisp gave the command "AM" gave the leader location. When I enter the leader remained. The text disappears. Can you help ,e to solve this please, Thank you!!
0 Likes
Message 9 of 10

jboyceQPURR
Contributor
Contributor

Click on the text first. Then type "am". Hit enter. Then click where you want the leader pointer, then click again to place the text. 

0 Likes
Message 10 of 10

jboyceQPURR
Contributor
Contributor

Type "am"

Hit enter

Left click where you want the leader arrow 

Left click again where you want the text to go 

Make sure your multileader is set to a proper text leader. 

0 Likes