Coordinate List?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-03-19
01:53 AM
- last edited on
2023-05-23
05:28 PM
by
Rubia Torres
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-03-19 06:52 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-03-19 07:46 AM
The Special Menu has an option to save the contents of the 3D window as vertices, edges, and other primitives. You are only interested in vertices: the x, y and z coordinates of the corners of polygons.
In the screenshot, I've drawn a slab and a column in metric ... because ArchiCAD operates internally in metric and the output is in metric ... so this was the easiest way for me to verify the numbers were right. You'll have to convert to FFI of course.
Choose Save GDL from the Special Menu and GDL 3D as the type.
Open the file and delete (or have software ignore) all lines other than the VERT lines. (My column was .1m wide, 3m high, and sitting on top of a .5m high slab at a corner located at (2m, 0m). The slab is 2m x 3m x .5m All comes through nicely - even tabbed!)
If you only want the x, y, z coordinates of certain locations, select just those 'marker' objects before generating the 3D ... and only their coordinates will be output. If your marker is a cube shape with 8 vertices like the illustration, then if you always place the smallest x,y,z coordinate on your intended point, it would be easy to have a tiny program eliminate all of the other points, too. Maybe a 3D hotspot would generate a single VERT ... I didn't spend any more time exploring.
Interesting, huh?
Karl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-03-19 08:05 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-03-19 08:17 AM
OK. I couldn't resist the challenge. Someone else may have a better solution.
I wanted to make a 'marker object' that you could plop down at points that you wanted output. For 2D, I just used a circle with crosshairs and a hotspot in the middle. The 3D became tricky. The easiest thing for output is for the 3D script to have nothing but a VERT 0, 0, 0 in it ... and then the output file would only have the desired coordinates. But, this is invisible in the 3D window and wouldn't allow you to visually drag the marker up and down to snap it to vertical height. So... I went for just a 3D line to allow 3D editing.
To output your coordinates, use Find and Select to select all of these marker elements, then go to 3D and save as in the tip below. The first coordinate of every pair is the coordinate that you want. The second (top point of the line) can be discarded.
2D script:
---------------------
HOTSPOT2 0, 0
CIRCLE2 0, 0, A/2
! Crosshairs
LINE2 -A/2, 0, A/2, 0
LINE2 0, -A/2, 0, A/2
3D script:
----------------------
LIN_ 0, 0, 0, 0, 0, 1
Karl

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-03-19 08:38 AM
HTH
Petros
Archicad 21 6013 UKI FULL, ArchiCAD 20 8005 UKI FULL
iMac Retina 5K, 27-inch, 2017
4.2 GHz Intel Core i7
32 GB 2400 MHz DDR4
Radeon Pro 580 8192 MB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-03-19 05:16 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-03-19 05:27 PM
Petros wrote:I believe that that only produces a visual label (using the SYMB_POS_X, Y and Z globals) ... but Mark is looking for a text file with many coordinates listed I think.
There is also an xyz locator object which can be downloaded from http://www.archiradar.com/eng/objects/al2d02.htm
Good thought!
Karl
P.S. Potentially one could create a combination of GDL objects that use the SYMB_POS values, OPEN, OUTPUT, and CLOSE and some other globals to write a custom text file (and turn the writing on and off)... but to do it cleanly requires a special on/off switch object and a MASTER_GDL script to start a clean file. (I think.)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-03-19 05:40 PM

Petros
Archicad 21 6013 UKI FULL, ArchiCAD 20 8005 UKI FULL
iMac Retina 5K, 27-inch, 2017
4.2 GHz Intel Core i7
32 GB 2400 MHz DDR4
Radeon Pro 580 8192 MB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-03-19 10:17 PM