Author Topic: Testing D_text location and position  (Read 61 times)

Gymbo

  • Jr. Member
  • **
  • Posts: 68
Testing D_text location and position
« on: April 12, 2018, 12:49:07 PM »
Anyone know anything about the D_TEXTLOCATION, D_TEXTPOSTION and D_TEXTPOSITION_VER & _HOR alias'?

My Dcadalias.d3i does not include the D_LOCATION or D_TEXTPOSTION alias' but does have the D_TEXTPOSITION_VER & _HOR alias', while the "macros17 review 2017 by DT" file describes the D_LOCATION Parameter and mentions D_TextPosition in the description of the D_LOCATION Parameter (probably a typo).

I've tested the attached drawing, queried each of the dimension text entities, numbers in balloons,  and print # the output to this macro:

Code: [Select]
'query text location
INCLUDE "dcadalias.d3i"
ALIAS D_textlocation &H0A14
open "a", 1, "e2.d3m"
print #1, "entity, pos, vpos, hpos"
for j = 4 to 14
entity j
query d_textlocation, pos
query d_textposition_ver, vpos
query d_textposition_hor, hpos
print #1, j, pos, vpos, hpos
if j = 4 then j = 6
if j = 9 then j = 12
next
end
entity, pos, vpos, hpos
4.000 0.000 0.000 -1.000
7.000 0.000 0.000 -1.000
8.000 0.000 0.000 -1.000
9.000 0.000 0.000 -1.000
13.000 0.000 0.000 -1.000
14.000 0.000 0.000 -1.000
Regards,

Jim

bdeck

  • Hero Member
  • *****
  • Posts: 868
Re: Testing D_text location and position
« Reply #1 on: April 12, 2018, 03:07:20 PM »
D_text location was replaced by newly defined  vertical and horizontal parameters in DC's never ending quest to be exportable to AC.

I'm guessing this happened with version 18 about 10 years ago, but cant recall, as I used version 17  until last year.

DrollTroll posted a compiled list of command changes and QC parameter changes somewhere on this forum, but I cant find it now.

« Last Edit: April 12, 2018, 07:54:44 PM by bdeck »

Gymbo

  • Jr. Member
  • **
  • Posts: 68
Re: Testing D_text location and position
« Reply #2 on: April 12, 2018, 03:32:20 PM »
Thanks BD, found it.
Regards,

Jim