import arcpy, arcgis, os from arcpy import env from arcpy.sa import * InTable = arcpy.GetParameterAsText(0) InPoints = arcpy.GetParameterAsText(1) fieldList = arcpy.ListFields(InTable) for field in fieldList: f_name = field.name if not (f_name == "easting" or f_name == "northing" or f_name == "OBJECTID"): arcpy.MakeXYEventLayer_management(InTable, "easting", "northing", "temp", "", "") para_in = "temp" + " " + f_name + " masspoints" arcpy.AddMessage(para_in) arcpy.CreateTin_3d("NewTIN", "", para_in, "constrained_delaunay") arcpy.TinRaster_3d ("NewTIN", f_name, "FLOAT", "LINEAR", "CELLSIZE 20", "") ExtractMultiValuesToPoints(InPoints, [f_name], "BILINEAR") else: arcpy.AddMessage(f_name)
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.