infc = "D:\\DDP_extent.shp" infcFields = ["SHAPE@WKT"] g = arcpy.Geometry() gList = arcpy.CopyFeatures_management(infc, g)
infc = arcpy.GetParameterAsText(0) repnum = arcpy.GetParameterAsText(1) gRows = arcpy.da.SearchCursor(infc, "Shape@") for row in gRows: origpoly = row del gRows aRows = arcpy.da.InsertCursor(infc, "Shape@") for x in xrange(0, int(repnum)): aRows.insertRow(origpoly) del aRows