I use this as a toolbox script?
arcpy.env.overwriteOutput = True input = arcpy.GetParameterAsText(0) clipfeature = arcpy.GetParameterAsText(1) output = arcpy.GetParameterAsText(2) arcpy.env.workspace = output inputSp = input.split(";") for i in inputSp: arcpy.AddMessage(i) arcpy.Clip_analysis(i, clipfeature, i)
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.