Get rid of some characters on multileader with attribute

Get rid of some characters on multileader with attribute

acarem16
Explorer Explorer
865 Views
2 Replies
Message 1 of 3

Get rid of some characters on multileader with attribute

acarem16
Explorer
Explorer

acarem16_0-1596617178718.png

Please see the image.

I created a lisp that changes multileader styles while adding attributes.

My problem is about these characters 

-at beginning {\W0.85; 

middle \P\C88;

end }

 

I want to get rid of these characters and just keep the text as shown left on multileader. 

How can I? (with lisp of course)

 

 

 

0 Likes
Accepted solutions (1)
866 Views
2 Replies
Replies (2)
Message 2 of 3

dlanorh
Advisor
Advisor

@acarem16 wrote:

acarem16_0-1596617178718.png

Please see the image.

I created a lisp that changes multileader styles while adding attributes.

My problem is about these characters 

-at beginning {\W0.85; 

middle \P\C88;

end }

 

I want to get rid of these characters and just keep the text as shown left on multileader. 

How can I? (with lisp of course)

 

 

 


These are the MText format strings

{             = start text formatting

\w0.85; = text is 0.85 of normal text width

\P          = is start a new line

\C88;    = sets the color for the remaining text

}            = end of formatting

 

If you remove them your text will be "EXPANSION ANCHORSM8x75 GALVANIZED"

This will be all on one line, width 1.0 and all the same color with no space between ANCHORS and M8x75

 

If this is what you want to do, google search for "Autolisp Strip MText formatting" 

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

0 Likes
Message 3 of 3

acarem16
Explorer
Explorer
Accepted solution

I found this lisp that makes i want exactly. Thank you Lee Mac!

 

http://www.lee-mac.com/unformatstring.html

0 Likes