routeCapacity = {'route 1': '12 0', 'route 2': '11 1', 'route 3': '11 2', 'route 4':'9 3', 'route 5': '6 4' } rows = arcpy.UpdateCursor("MyVRPLayer\Routes") for row in rows: row.Capacities = routeCapacity[row.Name] rows.updateRow(row) del row del rows
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.