GDL OBJECT / LABEL DISPLAYING X Y COORDINATES
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2012-07-04 10:43 AM
Hope someone can help me, I have done a good search but am having trouble finding a solution to my problem.. i am looking for a very simple object that displays the x and y coordinates of a point on my plan .. my aim to to export the list as a csv file then import it into a data base
I have really tried to solve this myself but am trouble?
hope someone can point me in right direction..
thanks,
Natalie (Arterra)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2012-07-04 12:41 PM
Not sure, anyway, how you can export the values to an external file.
--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2012-07-04 02:09 PM
rocorona wrote:I think the location points in the 2D Script would need to be converted to object parameters so they could be scheduled, then Saved As... a cvs or similar file format.
Not sure, anyway, how you can export the values to an external file.
David
www.davidmaudlin.com
Digital Architecture
AC28 USA ⢠Mac mini M4 Pro OSX15 | 64 gb ram ⢠MacBook Pro M3 Pro | 36 gb ram OSX14
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2012-07-05 01:50 AM
the object is simple and what i was after ! and David, you are absolutely right.. i need to covert the text values displayed for x and y and represent them as parameters so a to make a schedule out of them.. hmm, i'll go to work..
it doesn't seem as simple as it sounds.. if you have any advice it would be welcome!
my sincere thanks for your replies and help so far
Natalie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2012-07-05 09:25 AM
So i have tried to find a way to place the object and have the x and y coordinates (once placed) to show up as object parameters.. but i think this seems like a circular reference, does that make sense?..
the x and y coords need to be parameters in the GDL script, before the object is placed.. but they aren't defined UNTIL the object is placed ! maybe I am thinking about this all wrong??
what i am actually trying to do is take the x and y co-ordinates from trees we have placed in CAD and import the tree ID, and the x and y coordinates into EXCEL, add other tree features then take the info to a GIS package.. (the last bit i can do, excel to GIS).. it's just cad to excel i have trouble with
if anyone in the community can shed some light that'd be awesome and much appreciated (even if it is to tell me to try something else!)
thanks loads
Natalie (Sydney)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2012-07-05 11:58 AM
First you have to made two parameters to the object (eg: posX, posY). With the help of PARAMETERS command you can to add the coordinates to the object.
eg.:
PARAMETERS posX=SYMB_POS_X,
posY=SYMB_POS_Y
After all you have to open and close the settings dialogs of the placed objects. (If these not placed you haven't)
Finally with the help of Schedules and Lists you can to choose the parameters (eg: posX, posY) what you want to save to xls. (Its important that it has to be filled the Name of the parameters)
I think it works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2012-07-05 03:08 PM
For accuracy, since AC9, you must use an additional Global Variable.
!!! Master Script x = SYMB_POS_X + GLOB_WORLD_ORIGO_OFFSET_X y = SYMB_POS_Y + GLOB_WORLD_ORIGO_OFFSET_Y !!! Parameter Script parameters x = x, y = yDeclare x, y params in the Parameters tab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2012-07-05 08:44 PM
ila2 wrote:If I remember right the objects always give x=0 and y=0 when scheduled or listed. Writing the coordinates from the floor plan to an external .txt file might
Finally with the help of Schedules and Lists you can to choose the parameters (eg: posX, posY) what you want to save to xls. (Its important that it has to be filled the Name of the parameters)
work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2012-07-05 10:02 PM
Juha wrote:Sorry, I did not test it, but I trust you, Juha. One more GDL grip. Grrr!
If I remember right the objects always give x=0 and y=0 when scheduled or listed. Writing the coordinates from the floor plan to an external .txt file might
work.
Yes, the GDL Text In/Out Add-On export to a .txt file should work.
More complicated. I did not want to disgust Natalie, but now that's done.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2012-07-06 09:21 AM
Juha described exactly what i was having problems with, so i have now gone back though the forums and see that there are others trying to export to text files too!
I have spent the last 4 hours trying to find out why my Archicad 12 (mac OSX 10.6.

i think with Roberto's locator object and a solution to my add-on problems i will succeed .. fingers crossed..
just wanted to say thanks again!
Natalie