Packages and Scripting

Discussion created by Riverside on Jan 6, 2011
Latest reply on Jan 19, 2011 by Riverside
You guys have made it super simple for packaging and sharing lpks through script.  It just blows my mind how easy that was to write, and your help, wow, it really can be just a simple cut and paste and run w/i minutes, amazing, truly Blown away.

Thumbs up, so far with a small dataset, we will see with a much larger one next week.

One doc error on page 0017000000q4000000.htm

import arcpy
arcpy.env.workspace = "C:/arcgis/ArcTutor/BuildingaGeodatabase/Layers"
arcpy.PackageLayer_management('Parcel.lyr', 'Parcel.lpk', "PRESERVE", "CONVERT_ARCSDE", "#", "ALL", "AlL", "CURRENT")