Are you referring to portions of MTEXT, or the MTEXT objects themselves?
If you mean portions, I think control strings are added to the strings
for such things as bold, underline, fonts, color, etc. I've never
messed with it, but I think I remember seeing something about it years ago.
If it's not specified in the DXF list, it's BYLAYER otherwise it's
specified with the same color code as any other entity in AutoCAD - code
62. If it's zero, it's color is set to BYBLOCK. 256 also might show up
which represents bylayer. Negative numbers indicate the layer is turned
Layers frozen in specific modelspace viewports are controlled via
attached extended entity data attached to the viewport object which
resides in paperspace for r14 and earlier versions of AutoCAD.
In AutoCAD 2000, 2000i, and 2002, this is stored in group code 341 of
the viewport entity (in the main DXF list not in Xdata) and also is
duplicated in the Xdata for compatibility reasons.
And if that isn't bad enough, in AutoCAD 2004, it's now stored in 331
instead of 341. 2004 also duplicates this data in xdata for
Due to the compatibility issues, unless your programming code is going
to be running in multiple version of AutoCAD, it would be recommended to
use the main DXF group codes instead of Xdata as the duplicate info in
the Xdata may go away at some point.
Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here.
All logos and trade names are the property of their respective owners.