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: 

How do you import .sbx, .dbf, .prj, .idx, and .sbn files in to AutoCad2012?

16 REPLIES 16
SOLVED
Reply
Message 1 of 17
Anonymous
41717 Views, 16 Replies

How do you import .sbx, .dbf, .prj, .idx, and .sbn files in to AutoCad2012?

 
16 REPLIES 16
Message 2 of 17
awood
in reply to: Anonymous

Not sure if there's more to your post - those file types are resource files typically associated with an ESRI .shp file.

.shp files can be imported with the MAPIMPORT command.

 

Can you provide more information about what you are trying to do?

 

Cheers,

 

AWood

Message 3 of 17
Anonymous
in reply to: awood

I have a bunch of files From another firm and need to open them. in Autocad I tried the mapimport but could only open the .shp files. Is there something that I am not doing? So that I can Import the rest.

Message 4 of 17
antoniovinci
in reply to: Anonymous

When you open a .SHP file, Autocad loads automatically the .SHX and .DBF ones.

Message 5 of 17
Neilw_05
in reply to: antoniovinci

Shape files contain GIS features. GIS features can be points, lines or polygons. They can also have attributes that are associated with the features. For example a polygon could have parcel attributes such as parcel number, owner, lot acreage, etc. The attributes are stored in the DBF file. The .PRJ file stores coordinate system information. The .IDX is an index file, etc. As was noted, those files are automatically utilized by the mapping software when you load the features so you don't need to do anything with them. In Map, if you enable the option to include the attributes, the feature attributes will be attached to the features as object data when imported and show up in the properties dialogue when you select a feature.

Neil Wilson (a.k.a. neilw)
AEC Collection/C3D 2024, LDT 2004, Power Civil v8i SS1
WIN 10 64 PRO

http://www.sec-landmgt.com
Message 6 of 17
Anonymous
in reply to: Anonymous

I have shape, dbf, idx, prj files into my directory, but they don't look connected. When use Mapimport, it asked me to import shape file. I didn’t find anywhere how to include GIS data into the import command. When polylines were appeared on the screen, they had no "Z" elevation. How can I make GIS data to be attached and read in ACAD Civil 3D or 2D.

Thanks

Tanya

Message 7 of 17
Anonymous
in reply to: Neilw_05

How to enable the option to include attributes into my shape files? Should I use other command that MAPIMPORT. I don’t see these options to be available.

 

thanks

Tanya

Message 8 of 17
Anonymous
in reply to: Anonymous

Use the mapimport command Select the file Then under the Import properties for each layer imported Click on data Then select- Create object data
Message 9 of 17
Anonymous
in reply to: Anonymous

thank you for quick reply.

I just did that, but it still doesn't look like data was attached. I choose current drawing coordinate system as XY-IN (did not have a chose for  Z-elv), when asked for attribute data, the only option I had is to choose the same shape file I need to import. I checked "Add unique key file. the data is not in the drawing. It still show me plain polylines with no Z-elev. I still have all the attibutes files in my folder directory, but can't attache it to my shape file

Message 10 of 17
Anonymous
in reply to: Anonymous

When you select create object data. Then the "select fields" does anything show up?
Message 11 of 17
Anonymous
in reply to: Anonymous

That is the problem, data is exists, but when I select data in the "Attibute Data" the only file opetion I have is the same shape file. Should it be something else. May be I am missing anything. What file extention should be shoosen in the data

Message 12 of 17
Anonymous
in reply to: Anonymous

I am only familar working with .shp files. I am not sure on the others. All I know is that the file needs to be created in planning and analysis to contain the correct data.
Message 13 of 17
Anonymous
in reply to: Anonymous

thanks, i will try this now

Message 14 of 17
Murph_Map
in reply to: Anonymous

When you use the Mapimport command and select "Create Object Data" AutoCAD Map3D is smart enough to read the other files needed. The name for the table is the name of the shp file. To SEE the data select on of the objects and open the property palette. Also you can delete the .idx file if you have issues on not importing all the objects and data.

Murph
Supporting the troops daily.
Message 15 of 17
Anonymous
in reply to: Murph_Map

Hey guys, I'm going to try and clarify the issue. I have a SHP file with attributes. When I import the file, I have the centerline of all roads for my area. One of the attributes is STREET NAME. I need to have the street names appear in my drawing, as this will save me from typing thousands of street names. When I select a line and hit properties, it tells me "HOWARD STREET" or whatever. How can I make HOWARD STREET appear in my drawing....the actual text?

Thanks!!!street.PNG

Message 16 of 17
AllenJessup
in reply to: Anonymous

You have to save and close that drawing. Open a new one and attach the first drawing in the Drawing Explorer tab of the Map Task Pane.

 

atch.png

 

Then define a Query that will bring in the entities with the names. See HERE in #2 for the procedure.

Allen Jessup
CAD Manager - Designer
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 17 of 17
Anonymous
in reply to: Anonymous

you can also use map annotation templates directly in the drawing. 

 

You'd set up the template and then insert.

 

- MAPANNTEMP - in the define annotation template select NEW - set a name - it opens up block editor.

- MAPANNTEXT - enter to create new annotation - Create a tag name (Road or what have you) in the value box use the button on the right to browse to the shapefile object data attribute - set all the style options you want - if I remember correctly you dont want to set the rotation in this window, it'll be in the annotation template window but you can set the rotation to be dictated by the object rotation. It'll take some playing. once you have your options set appropriately hit ok, it'll ask for an insertion point. close block editor

- in the define annotation template window you can change the insertion point of the annotation to various options as well as play with the rotation and other properties.  once you have everything set how you want it be sure to hit apply. (changes will not be retained if you switch between annotation templates without hitting apply) once you're done hit ok.

- MAPANNINSERT - will allow you to pick your annotation template and then select the features you want to label using it. if the feature doesnt have the required attributes the tag name will be displayed. 

- MAPANNREFRESH will update any already inserted annotations that you change after the fact. 

 

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

Post to forums  

Rail Community


Autodesk Design & Make Report