PDA

View Full Version : 2016 lisp change Mtext bylayer internal



cad2018
2017-09-21, 05:51 PM
Hello,

Is there a lisp that change Mtext internal/external to bylayer and also when it is in a block?

Tom Beauford
2017-09-21, 07:04 PM
What properties are you trying to change? Color? Plotstyle? Text Style?

cad2018
2017-09-21, 07:21 PM
What properties are you trying to change? Color? Plotstyle? Text Style?
the color has to go bylayer:)

Tom Beauford
2017-09-21, 07:27 PM
You need StripMtext dialog box routine that strips internal formats from Mtext.
StripMtext can remove the following types of formatting:

Alignment
Background Masks
Color
Columns
Fields (converts fields to static text)
Font
Height
Line Feed (newline, line break, carriage return)
Non-breaking Space
Obliquing
Overline
Paragraph (embedded justification, line spacing, indents)
Stacking
Tabs
Tracking
Underline
Width

Look for new stable releases at:
http://cadabyss.wordpress.com/

More information may also be found at:
https://www.theswamp.org/index.php?topic=31584.0
http://www.theswamp.org/ Subforum: "Show your stuff", Subject: "StripMtext v5"

Works for tables as well.

cad2018
2017-09-21, 07:36 PM
You need StripMtext dialog box routine that strips internal formats from Mtext.
StripMtext can remove the following types of formatting:

Alignment
Background Masks
Color
Columns
Fields (converts fields to static text)
Font
Height
Line Feed (newline, line break, carriage return)
Non-breaking Space
Obliquing
Overline
Paragraph (embedded justification, line spacing, indents)
Stacking
Tabs
Tracking
Underline
Width

Look for new stable releases at:
http://cadabyss.wordpress.com/

More information may also be found at:
https://www.theswamp.org/index.php?topic=31584.0
http://www.theswamp.org/ Subforum: "Show your stuff", Subject: "StripMtext v5"

Works for tables as well.

That is right i have test it works good, but is there another way without selecting but instant change color bylayer?

Tom Beauford
2017-09-22, 11:22 AM
That is right i have test it works good, but is there another way without selecting but instant change color bylayer?

StripMtext works with pre-selected (griped) Mtext. You may also run it in a script or a lisp routine. There is documentation in the file for this as well.