Author Topic: coordinates of subentities  (Read 15256 times)

0 Members and 1 Guest are viewing this topic.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: coordinates of subentities
« Reply #30 on: April 07, 2008, 04:07:07 PM »
gile,
I must say that's a very nice solution.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

csgoh

  • Newt
  • Posts: 176
Re: coordinates of subentities
« Reply #31 on: April 07, 2008, 08:17:54 PM »
thanks gile, cab.

gile

  • Gator
  • Posts: 2507
  • Marseille, France
Re: coordinates of subentities
« Reply #32 on: April 08, 2008, 05:46:33 AM »
csgoh,

you're welcome.

CAB,
 
thanks, the way you return the results is very nice too.
« Last Edit: April 08, 2008, 05:50:59 AM by gile »
Speaking English as a French Frog

gile

  • Gator
  • Posts: 2507
  • Marseille, France
Re: coordinates of subentities
« Reply #33 on: April 09, 2008, 11:44:10 AM »
Hi,

Here's a new version with an easier reading display in the text screen.

i.e. selecting all blocks in csgoh's sample file:
Code: [Select]
Commande: test

Choix des objets: Spécifiez le coin opposé: 4 trouvé(s)

Choix des objets:

- "1"
   - POINT(264.6 122.06 0.0)
   - POINT(253.143 132.313 0.0)

- "1"
   - POINT(286.612 139.888 0.0)
   - POINT(286.122 124.52 0.0)

- "2"
   - LINE(334.632 153.619 0.0)(347.486 167.068 0.0)
   - "1"
      - POINT(344.621 171.17 0.0)
      - POINT(330.822 164.388 0.0)

- "3"
   - "1"
      - POINT(429.48 175.365 0.0)
      - POINT(415.723 182.232 0.0)
   - "2"
      - LINE(403.789 189.773 0.0)(422.277 187.698 0.0)
      - "1"
         - POINT(423.804 192.463 0.0)
         - POINT(410.047 199.33 0.0)

((264.6 122.06 0.0) (253.143 132.313 0.0))
((286.612 139.888 0.0) (286.122 124.52 0.0))
((334.632 153.619 0.0) (347.486 167.068 0.0) (344.621 171.17 0.0) (330.822 164.388 0.0))
((429.48 175.365 0.0) (415.723 182.232 0.0) (403.789 189.773 0.0) (422.277 187.698 0.0) (423.804 192.463 0.0) (410.047 199.33 0.0))
Speaking English as a French Frog