ACTDallas

script to zip files

Discussion created by ACTDallas on Jun 14, 2013
Latest reply on Jun 20, 2013 by mzcoyle
Hi,
To start, I have almost no experience writing code.  I want to use a tool that would automatically send some shapefiles to separate zipped folders.  I tried to copy and paste (into IDLE) the code given by ESRI in the link below, but it didn't work.  I'm not sure if the problem is in the code or is in the process of adding the script to a toolbox, which I also don't have experience doing.  There are parameters in the code set to GetParameterAsText, but when I try to use the script in a model it says that the tool has no parameters.  I can add parameters to the tool under properties, but those parameters aren't using the functions defined in the script as far as I can tell.  Any advice?

http://resources.arcgis.com/en/help/main/10.1/index.html#//005700000078000000

Outcomes