Author Topic: Correct DXF-Groupcode 90 for MText?  (Read 1706 times)

0 Members and 1 Guest are viewing this topic.

Peter2

  • Swamp Rat
  • Posts: 653
Correct DXF-Groupcode 90 for MText?
« on: September 11, 2018, 10:56:16 AM »
The online help for AutoCAD 2019 (and 2018) describes the GC90 for MText:

Code: [Select]
90
Background fill setting:
0 = Background fill off
1 = Use background fill color
2 = Use drawing window color as background fill color

But I think there are more values - the bounding box (Textframe) which is created via the Properties creates a value "16" for GC90.

Who knows a complete reference of the GCs for MText?
Peter

AutoCAD Map 3D 2023 German (so some technical terms will be badly retranslated to English)
BricsCAD V23

tombu

  • Bull Frog
  • Posts: 289
  • ByLayer=>Not0
Re: Correct DXF-Groupcode 90 for MText?
« Reply #1 on: September 11, 2018, 12:08:19 PM »
Besides adding 16 to the bitcode for 90 the values are added for 63 Background fill color, 45 Fill box scale which determines how much border there is around the text, and 441 Transparency of background fill color when adding a text frame to mtext with Properties Palette.  Those added codes are removed when removing a text frame from mtext with Properties Palette.

A lisp to toggle mtext text frame would be nice.
« Last Edit: September 11, 2018, 12:27:58 PM by tombu »
Tom Beauford P.S.M.
Leon County FL Public Works - Windows 7 64 bit AutoCAD Civil 3D

Peter2

  • Swamp Rat
  • Posts: 653
Re: Correct DXF-Groupcode 90 for MText?
« Reply #2 on: September 12, 2018, 08:58:39 AM »
For GC90, there suppose that also the values 4 and 8 do exist. But which meaning ...??
Peter

AutoCAD Map 3D 2023 German (so some technical terms will be badly retranslated to English)
BricsCAD V23

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Correct DXF-Groupcode 90 for MText?
« Reply #3 on: September 12, 2018, 04:29:42 PM »
@Peter2:
Not all bit-coded flags use a continuous range of bits. Compare gc 70 of LWPOLYLINE entities.