Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Newbie question!!

$
0
0
Hi there,

I'm pretty new to GIS in general, but am starting to look into Python scripts and downloadable toolboxes to see how they work. I've downloaded this python script and toolbox, but can't seem to get it to work properly, so am looking for some advice?

http://arcscripts.esri.com/details.asp?dbid=14127

I'm not sure if it's something straightforward and obvious I'm missing, or if it's something a bit more specific to my files.

I've added the toolbox to ArcToolbox, and then specify my input shapefile (points based) as feature layer, field to query as FID (though I've tried changing this to see if it makes a difference and it doesn't!) and then an output folder (leaving output filename blank). My error message is as follows:

Executing (SplitLayerByAttributes_3): SplitLayerByAttributes All_VPs FID # C:\Users\lisa\Desktop\test
Start Time: Fri Aug 02 11:54:34 2013
Running script SplitLayerByAttributes...
Error in script SplitLayerByAttributes.
Error in executing: cmd.exe /C W:\5USERA~1\Lisa\ArcGIS\Scripts\SPLITL~1\SPLITL~1.PY "All_VPs" "FID" "#" "C:\Users\lisa\Desktop\test"

Failed to execute (SplitLayerByAttributes_3).
End Time: Fri Aug 02 11:54:35 2013 (Elapsed Time: 1.00 seconds)


Any advice much appreciated! I'm running GIS 9.2.

Thanks,

Lisa

Viewing all articles
Browse latest Browse all 2485

Trending Articles