Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

match Mtext

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
waseemtarik
1099 Views, 4 Replies

match Mtext

hello everyone,

 

I have a lisp been using it for a while, it's matchtext, that will match height, layer and text as well with windowselection.

 

can this be modified to match to have the same ability but for mtext ?

 

please let me know.

 

attached is the lisp, feel free to use it as well.

 

regards,

 

waseem

4 REPLIES 4
Message 2 of 5
Kent1Cooper
in reply to: waseemtarik

Try this simple addition:

.....

(if (setq ss (ssget "_:L" '((0 . "*TEXT"))))

.....

Kent Cooper, AIA
Message 3 of 5
dlanorh
in reply to: waseemtarik

In theory change the "TEXT" in the ssget filter to "*TEXT". Problems arise if you're going from mtext to text and the mtext has inline formatting and vice versa where you will lose any formatting.

I am not one of the robots you're looking for

Message 4 of 5
waseemtarik
in reply to: Kent1Cooper

@Kent1Coopercould you please send it in full lisp, because I don't know where to add this. thanks

 

@dlanorhwhat I need is same as this lisp to work for mtext, so I thought that to share this and get it modified or if you could make a new one that can work for mtext with changing layer colour, name, height and mtext contents.

regards,

Message 5 of 5
waseemtarik
in reply to: waseemtarik

@Kent1Cooperit works perfect. thank you for the help, I appreciate it alot.

regards,

waseem

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Autodesk Design & Make Report