Jump to content

Batch import Shape files


giskumar

Recommended Posts

Hi All,

 

I have a problem when try to import shape files in to Autocad as batch.

I tried to loop files one by one and import using Mapimport.

 

I am not getting how select Attribute data information to different shape file in run time. If i use .ipf file it is fixed to that particular table only.

 

Please let me know, is there a way to import shape files as batch process?

 

Thanks,

Kumar.

Link to comment
Share on other sites

Hi All,

 

After some investigation i found data options in "mapimport4" command.

But when i try to use this command through lisp it is giving following error.

 

 
Command: (command "mapimport4")
mapimport4 Enter file format DGN/MIF/SHP/TIC  <SHP>: nil
Enter file format DGN/MIF/SHP/TIC  <SHP>: shp
Import file name <D:\aawork\BusBar.shp>:
Load saved settings? (Yes/No) <N>: N

Preprocessing...error encountered.

 

Please help me how to solve this problem.

 

 

Thanks,

Kumar.

Link to comment
Share on other sites

Hi all,

 

Finally i got solution for this.

 

 
(command "-mapimport" "SHAPE" shpfile "n" "L" "S" layname "D" "C" "P" "P")

 

 

Thanks,

Kumar.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...