h = int(arcpy.GetParameterAsText(0)) if h >= 6 and h < 12: arcpy.SetParameterAsText(1, "Raster_Morning") elif h >= 12 and h < 18: arcpy.SetParameterAsText(1, "Raster_Afternoon") elif h >= 18 and h < 23: arcpy.SetParameterAsText(1, "Raster_Evening") else: arcpy.SetParameterAsText(1, "Raster_Night")
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.