Select to view content in your preferred language

Model Builder Rookie - Help loading seveal files

863
3
02-17-2013 03:33 AM
GinaBrewer
Emerging Contributor
I am new to model builder and am trying to do a few simple things that I normally do just using the toolboxes but wanted to try and automate some things!

Basically I have a folder containing a large number of dxf's that I will use the CAD to Geodatabase Tool on. So when I add this tool to model builder it works fine, however the input is a ton of dxf's in my model! I don't really want this!

So what I would like to do is be able to look into a folder, locate all the .dxf files and populate them into the geodatabase.

[ATTACH=CONFIG]21892[/ATTACH]

This is what I did not want to happen. I just want to have it looking in the folder and finding all the .dxf's and then run my tool on them.

Can anyone help with this and show me how to do this in Model Builder?

Thanks!
Gina
Tags (2)
0 Kudos
3 Replies
AlexeyTereshenkov
Deactivated User
Hi Gina,

I would try to use the Iterate Files iterator available in ArcGIS since 10.0. This should let you choose what folder you want to process and what file types (by extension you need) you want to use with a certain geoprocessing tool (in your case, the CAD to Geodatabase).
0 Kudos
GinaBrewer
Emerging Contributor
Hi Gina,

I would try to use the Iterate Files iterator available in ArcGIS since 10.0. This should let you choose what folder you want to process and what file types (by extension you need) you want to use with a certain geoprocessing tool (in your case, the CAD to Geodatabase).


I have tried this, however it will not let me use the dxf extension, since it is recognized as an ArcGIS dataset.
Not sure how to get around this?
0 Kudos
AlexeyTereshenkov
Deactivated User
0 Kudos