Dear community,
I have a problem where a TIN (object class 3D face) is given(see attached) and my aim is 1. to extract the points at the vertices of the triangles, 2. remove the duplicates and 3. create a .txt file containing the X,Y,Z coordinates of the remaining points. Which do you think is the best command sequence to do that using AutoCAD Map 3D 2013;
Solved! Go to Solution.
Solved by braudpat. Go to Solution.
Solved by antoniovinci. Go to Solution.
Hi,
create a new drawing, use command _ADEDRAWINGS to attach your drawings with the 3D-Faces.
Next use command _ADEQUERY to create a report, that report gathers the data
X1,Y1,Z1
X2,Y2,Z2
X3,Y3,Z3
X4,Y4,Z4
After you got the ASCII-file from that you should continue in database like functionality to get the colums for value 2, 3 and 4 as additional records into columns X1,Y1,Z1 and requery with DISTINCT to get only the first of the doubled values.
HTH, - alfred -
Hi Alfred,
thanks for your time! After creating the ASCII-file, I think lost you somewhere along the line but I 'll try to figure it out.
Stefanos
Another way is the following one:
καλησπέρα !
Hi Antonio,
well at first I tried to explode the 3d faces but this object class cannot be exploded. After, searching in the forum I discovered that I could explode the 3d faces only If I had converted them in regions or surfaces. The problem there is that out of the approximately 30000 3d faces, 8000 cannot be converted to regions and the message on the command line states that : "1 closed, degenerate or unsupported object rejected". So, I cannot proceed with the other steps..
Grazie per l'attenzione
Hello
To complete the good answer of Antonio & Alfred sometimes on 3DFaces, I need to get 3D Points !
So I use a Lisp routine which draws a 3DPoint at each 3DFace vertex !
Don't forget that you will get many duplicate 3D Points ...
With the tool "_DataExtraction" you can easily extract the 3D Point Info (XYZ) to Excel (.CSV) or to .TXT
and then please eliminate/purge duplicate points ...
Warning : Please run the routine "3DF_to_3DPoint" into the GCS not into an UCS !!
Happy Sunday, Patrice
Patrice BRAUD
Well thank you Patrice for your great advice! I think I am going to use map cleanup first for removing the duplicates.
Hello
1) The advantage to use the Lisp routine (to get 3D Points) is that you don't need MAP
2) To run the command MAPCLEAN (a powerful feature of MAP) you need an AutoCAD MAP (or AutoCAD CIVIL) ...
but to erase duplicate Points, you can use the OVERKILL command (it's pure AutoCAD coming from the Express Tools)
Happy Week, Regards, Patrice
Patrice BRAUD
I tried to enter the command _ADEDRAWINGS and Autocad came back with unknown command. I have Autocad Lt. do I need the full autocad?
This command exists only in AutoCAD Map 3D and Civil 3D.
Hi,
>> where should i write the commands?
Into the AutoCAD command line.
- alfred -
Can't find what you're looking for? Ask the community or share your knowledge.