AutoCAD Map 3D Forum
Welcome to Autodesk’s AutoCAD Map 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Object data extraction of Polyline and line to excel(csv,xls,text)

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
Anonymous
2603 Views, 9 Replies

Object data extraction of Polyline and line to excel(csv,xls,text)

Hi all,

Currently I'm facing a challenge that I need to extract OD from p-line and lines which have Object data.

Can you please post your ideas to extract quickly and can we write any LISP for OD extraction.

Please post your suggestions on this.

 

Many thanks,

Ramesh Ch.

9 REPLIES 9
Message 2 of 10
Pointdump
in reply to: Anonymous

Ramesh,
You can use MAPEXPORT to quickly extract OD.

OD_1.png

 


Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2024
Message 3 of 10

In my opinion, if MAPEXPORT in mif/mid, txt-csv files are immediately obtained.
The mid file contains values from OD, and is actually csv separated by comma.
There is still a way to unload into csv via ODEDIT_EXPL - at once with some common counts.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

Message 4 of 10

Alexander,
"...MAPEXPORT in mif/mid, txt-csv files are immediately obtained."
Thank you! I learned something new. I had never heard of "mif/mid", so I looked at the file formats in MAPEXPORT. Never noticed those before. Definitely faster than opening a DBF file in Excel.
Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2024
Message 5 of 10

It's cool!

 

Through mif/mid is the easiest and fastest way to get csv. And MAPIMPORT capability after changing data in csv (in mid or in mif/mid).

 

Here almost everyone treats mif/mid without interest, because Mapinfo seems morally obsolete. Therefore, I am already afraid that Autodesk can exclude mif/mid from MAPEXPORT. 🙂

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

Message 6 of 10
Anonymous
in reply to: Pointdump

Thanks for suggestion,

It worked pretty well and fast as well(mif/mid).

Message 7 of 10
Anonymous
in reply to: АлексЮстасу

Alexander,

I have been using MAPEXPORT often,  now i'm using 'mid' file extract which contains values from OD.

It's fast and efficient. Thank you for your update and looking forward to hear from you more like this type of updates.

 

Message 8 of 10
Anonymous
in reply to: АлексЮстасу

 Hi there,

 

I have the same issue here. I have some polylines with Object data and I want to extract the info( In reality I have some shape files and I want to bring them in Autocad in a specific block, everything ok for the points but I can manage to do the same way for polylines.)

I have used this mapexport to mid/mif but  how do I get this files into excel without an online convertor ?

Thanks a mil

Message 9 of 10
АлексЮстасу
in reply to: Anonymous


@Anonymous wrote:

... but  how do I get this files into excel without an online convertor ?


I'm not sure I understood about "without an online Converter"...


Two Lisp - https://forums.autodesk.com/t5/autocad-map-3d-forum/applications-for-object-data/m-p/9388127#M56631:
1. All_OD2CSV.lsp - export OD to csv,
2. CSV2OD.lsp - imports data from csv into the OD.


And two commands from https://forums.autodesk.com/t5/autocad-map-3d-forum/applications-for-object-data/m-p/9498449#M56959:
1. MAPODOUT,
2. MAPODIN.

 

And ODEDIT_EXPL from my ODEDIT.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

Message 10 of 10
ChicagoLooper
in reply to: Anonymous

If your source is a shapefile, then do this:

 

  1.  Open Excel.
  2. Go to File=>Open=>Browse=>Select the .'dbf' file of your shapefile (.dbf=database file)=>Open. <<Be sure All Files (*.*) is displayed in the dropdown that's located above open button before you click OPEN.>>
  3. Your Object Data will open in a spreadsheet. Perform Excel editing functions if needed. Save this spreadsheet.
Chicagolooper

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


AutoCAD Beta