Author Topic: MText: entget GC50 (Rotation) in WCS and UCS  (Read 1279 times)

0 Members and 1 Guest are viewing this topic.

Peter2

  • Swamp Rat
  • Posts: 653
MText: entget GC50 (Rotation) in WCS and UCS
« on: September 17, 2018, 04:55:55 AM »
I thought that "entget" returns the DXF-values, based always on WCS. But now I compared the entget-data of a simple MText in WCS and in a simple UCS (moved and rotated), and it shows me that all values are the same - but GC50 (rotation) depends on the current UCS.

Is this a bug or a feature?

See the sorted DXF-values here, both in WCS and "UCS":
Code: [Select]
(-1 . <Objektname: 15e20dfe5b0>)
(-1 . <Objektname: 15e20dfe5b0>) ucs
(0 . "MTEXT")
(0 . "MTEXT") ucs
(1 . "abc")
(1 . "abc") ucs
(10 -0.638118 1.82951 0.0)
(10 -0.638118 1.82951 0.0) ucs
(100 . "AcDbEntity")
(100 . "AcDbEntity") ucs
(100 . "AcDbMText")
(100 . "AcDbMText") ucs
(11 0.640061 0.768324 0.0)
(11 0.640061 0.768324 0.0) ucs
(210 0.0 0.0 1.0)
(210 0.0 0.0 1.0) ucs
(330 . <Objektname: 15e20e001f0>)
(330 . <Objektname: 15e20e001f0>) ucs
(40 . 2.5)
(40 . 2.5) ucs
(41 . 6.14396)
(41 . 6.14396) ucs
(410 . "Model")
(410 . "Model") ucs
(42 . 5.47237)
(42 . 5.47237) ucs
(43 . 2.54093)
(43 . 2.54093) ucs
(44 . 1.0)
(44 . 1.0)
(46 . 0.0)
(46 . 0.0) ucs
(5 . "293")
(5 . "293") ucs
(50 . 0.0664042) ucs
(50 . 0.876218)
(67 . 0)
(67 . 0) ucs
(7 . "Standard")
(7 . "Standard") ucs
(71 . 1)
(71 . 1) ucs
(72 . 5)
(72 . 5) ucs
(73 . 1)
(73 . 1) ucs
(8 . "0")
(8 . "0") ucs
---


Edit:
Bricscad shows for WCS and USC the same values, also for GC50.
« Last Edit: September 17, 2018, 02:15:15 PM by Peter2 »
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: MText: entget GC50 (Rotation) in WCS and UCS
« Reply #1 on: September 18, 2018, 08:18:54 AM »
IMO this a a BUG (but I use BC). I wonder what the angle will be if the mtext is in the XZ plane of the current UCS. Maybe you can use gc 11 in your code instead. Does the problem also occur for vla-get-rotation?

Peter2

  • Swamp Rat
  • Posts: 653
Re: MText: entget GC50 (Rotation) in WCS and UCS
« Reply #2 on: September 20, 2018, 04:09:12 AM »
... Does the problem also occur for vla-get-rotation?
I checked it with "SnoopCivil3DDB" and - yes, same values here as in GC50.
Peter

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