Select to view content in your preferred language

Python Script Data Entry

505
1
06-10-2010 01:20 PM
KyleDalton
New Contributor
This is a fairly simple task I believe.  I have a script that was written in python.  It is stored in a toolbox and works perfectly fine.  The issue I'm having at the moment is that when I add the toolbox into ArcMap and run the script I can not drag and drop files into the parameters.  It makes me navigate to the file location.  I've tried changing the data type in the parameters.  I would also like the tool to work with selected features in a feature dataset if possible.  What the script does is buffer roads, select parcels within the buffer, export the selected parcels to a new shapefile, and write the attribute values to a ASCII file. Anyone got an idea on this one.  I'm assuming it shouldn't be to complex as the tool works perfectly fine when I navigate to the file myself.
0 Kudos
1 Reply
JeffLee
Deactivated User
try setting the parameter as feature layer instead of feature class.
0 Kudos