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

Attribute data not importing from shape files

10 REPLIES 10
SOLVED
Reply
Message 1 of 11
joeperkins_gai
588 Views, 10 Replies

Attribute data not importing from shape files

Hello,

When I import shape files into AutoCAD C3D 2020 using MAPIMPORT command, I do not always get the attribute data. I choose the "Create object data" option and make sure all the fields are selected, but I only end up with a polyline. The shape file has all the associated files in the same folder. Is there a new patch out there?

Thanks

Joe

10 REPLIES 10
Message 2 of 11
Joe-Bouza
in reply to: joeperkins_gai


@joeperkins_gai wrote:

Hello,

When I import shape files into AutoCAD C3D 2020 using MAPIMPORT command, I do not always get the attribute data. I choose the "Create object data" option and make sure all the fields are selected, but I only end up with a polyline. The shape file has all the associated files in the same folder. Is there a new patch out there?

Thanks

Joe


You are saying When you export you create OD, right?

can you share you dwg and shp

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 3 of 11

Hi @joeperkins_gai 

Can you see Object Data in Property Palette?

 

arturopolanco_0-1677273724628.png

 


Arturo Polanco
AEC Solutions Specialist - Civil Infrastructure

Youtube | Twitter

Message 4 of 11

Like Joe said, select create object data, and then in the pop-up also select Create Object data.  If necessary, you can limit the data imported.

 

brianstrandberg_0-1677275927900.png

 

Check out my Civil 3d blog at: http://c3dk.com/
Favorite Posts: Use Dynamo For Surface Analysis: https://youtu.be/eJNdX6guMP8
Fast Track your site grading with the new Corridor Workflow: https://youtu.be/Gg7u9-LgIL0
Message 5 of 11
Pointdump
in reply to: joeperkins_gai

Hi Joe,
Here's something to check. If your drawing already has an Object Data Table of the same name, it won't add any attributes. Use command ADEDEFDATA to see.
As @Joe-Bouza says, it would be best to post your shapefile and drawing.
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 6 of 11
joeperkins_gai
in reply to: Joe-Bouza

I do not create the shape file. These are from FEMA 

Message 7 of 11

No. It might work once then not at all.
Message 8 of 11

Hi @joeperkins_gai 

The error might be, might NOT be, an error during the MapImport procedure. 

If you really want to get to the bottom of it, invest a few minutes and run an experiment. 

First, run MapImport on the shapefile (be sure to Create Object Data during import). Second, while in the same dwg, bring in the exact same shapefile using a Data Connection. 

<<You can toggle shapefile (display/hide) in the Map Task Pane.>>

Now that you have both (a) the shapefile and (b) the imported line work on top of one another in modelspace, you can see how the AutoCad OD compares to the ESRI Table. If the OD is consistent with the Table then it’s all good. If not then analyze your MapImport procedure. You may have imported a copy of the shapefile, not the original. Or you may have skipped the ‘Create Object Data’ part during import. 

Shapefile minimum:

  1. shp
  2. shx
  3. dbf
  4. prj

All 4 components must be in the same folder. If the dbf is in a separate folder (or nonexistent), then Create Object Data will fail. 

Chicagolooper

EESignature

Message 9 of 11
joeperkins_gai
in reply to: Pointdump

I do not use this forum often so am not sure how to post files.
Message 10 of 11

A6E05436-67F6-4CE4-B1B8-E9B145BFD4A4.jpeg

Chicagolooper

EESignature

Message 11 of 11

Thanks everyone for your input but it just seems like a glitch in my profile since it works sometimes and sometimes not. I will be upgrading to 2023 so hopefully it will work itself out.

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report