BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

Collaboration with other software
About model and data exchange with 3rd party solutions: Revit, Solibri, dRofus, Bluebeam, structural analysis solutions, and IFC, BCF and DXF/DWG-based exchange, etc.

Making mesh from map and text values (imported from dwg)

Not applicable

I've been using archicad since the beginning of my studies,
so It's 4 years by now. I'm using ver. 15.

Actually I'm working on terrain model for my graduation project.

Long story's short:
I got map imported from DWG. I already organized layers and isolated points heigth (there are actually text with heigth value only - no geometric points)
(also map doesn't contain height lines).
As for now, I can create a mesh, then draw some lines, after that select each one separately and manually enter desired Z-level for every point.
Problem is, the number of points is 1860 and nobody sane would undertake this.

Is there a way to automatically add points to mesh from location of the text fields? Furthermore, is there a way to generate point Z-level from the value of number, and make whole geometry from text itself?

I don't have any experience with Surveyors design plugin. Maybe there's a way.

It would greatly speed workaday modeling basis.

Looking forward to any experience and ideas,
they would be very appreciated.



I'm doing some reserches:

I found some script for Rhino. You just load 2D mapped DWG text to Rhino, then use the script which read the text value, then adds a point to each text box, and then sets the point in z-value written in text. Great thing, but I got some problems atm, with the script doesn't want to elevate points.

Is there possibility to write script like that for Archicad? Personally I'm no script writter, but I think many people would be very greatful for the time and work it would save them.

The other think is to generate the mesh from those points in space, but this should be less of a problem.
Laszlo Nagy
Community Admin
Community Admin
Do you know the Design\Place Mesh from Surveyor Data command.
You may get the terrain data in the format it understands and create your Mesh from that.
Loving Archicad since 1995 - Find Archicad Tips at
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
Not applicable
I considered that, but I don't know any soft (standalone or plugin) to translate text strings (2D DWG) to survey data. Could you give me sime hint?
Laszlo Nagy
Community Admin
Community Admin
Sorry, I am not familiar with that.
The Help file only gives this info:
Loving Archicad since 1995 - Find Archicad Tips at
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
Not applicable
Look at this tread if you have the original ".dwg" file + AutoCAD or any clone with support for AutoLISP, to export 3D points to a ".toc" file from it.
Not applicable
Funny, I found Stefano's Boli blog where the precedure is similar.
First better use oryginal DWG/DXF file because if u opened it in Archicad before and saved to DWG next, it modified text lines for me so you wouldn't be able to export them later from AutoCAD to txt (AutoCAD didn't saw them as text strings). So better to do layer work (deleting everything exept wanted heightpoints) in AutoCAD.
I exported with Cad2File Tool but it only makes CSV file, or space/coma/tab delimited.

Could You gimme example to see how survey .txt file is constructed?
XXX.XXX, YYY.YYY, ZZZ.ZZZ - like this??
from excel CLV i get smoething like this

Start X,Start Y,Start Z,Text Value,

Should I just use some other AutoLisp and get .toc ?
Not applicable
The .txt file with 3D xyz points coordinates looks like this:
P01 390378.445 96360.296 172.47
P02 390379.748 96367.614 170.42
P03 390381.026 96370.818 171.36
P04 390377.353 96377.913 171.43
P05 390375.685 96381.351 172.52
P06 390376.949 96390.973 171.24
P07 390373.487 96400.761 169.97
P08 390374.776 96411.821 167.19
P09 390383.299 96407.991 166.84
P10 390381.567 96399.676 167.45

Your´s values will be :
P0001 7571195.7510 5544223.8730 208.35

If you know some other ".lsp" routine that do the same thing, use it freely.
Not applicable
I edited previous scheme to one you mentioned, no now it is:

P0001 7571195.7510 5544223.8730 208.35
P2704 7571445.2543 5543944.7345 202.78

(file is .txt Unicode)

Unfortunatly, when I open it with Design>Place mesh from Surveyors data...
...nothing happens, it won't even open dialog box

I tried your AutoLISP (SURVEYEXPORT) for AutoCAD but when it asks me to select objectss it doesnt seem to see any text strings:
"Select objects: 0 found, 0 total" or
"Select objects: Specify opposite corner: 0 found, 0 total"
despite how I select them
Not applicable
Did you try to make Mesh from the .txt file in that topic:
(ales-1_3D points geo.txt)?

If you get the Mesh from it , then compare .txt with yours to find what´s going wrong.

Or you can post your .txt so I can try to make Mesh from it.
Not applicable
This is just what I did and it works now.

Problem was a bit fishy,
first of all:
the coding of .txt file must be ANSI - I had UNICODE
(that's why Archicad did nothing when tried to open it)
there was no P X Y Z line, and "P" before point number (so no letters, numbers only)
document's first line starting from 1st point
I got spaces at the end of each line.

(I made notepad++ simple macro to delete spaces at the end of each line)

So to do things right I need:
1. DXF/DWG file with heightstrings>
2. AutoCAD (or similar) with AutoLISP support>
3. AutoLISP program to export texstrings to text file (I used "Cad2File")
4. Notepad++ (or other text editor) to make eventually changes

From there just use Design>Place mesh from Surveyors data... and voila!

Many thanks for help and patience,
hope this will help somebody in future.
Learn and get certified!