Skip to main content
deleted 2 characters in body
Source Link
artwork21
  • 35.2k
  • 8
  • 67
  • 134

One option, here is the general code logic:

  1. Create a script tool with a Field multi value data type

  2. Within the python code, loop through the field list and define the index value as the field parameter within the IDW method

    fieldList = arcpy.GetParameterAsText(0)

     fieldList = arcpy.GetParameterAsText(0)
     for fieldName in fieldList.split(';'):
         outIDW = Idw(inPointFeatures, fieldName, cellSize, power, searchRadius)
         # Save the output 
         outIDW.save("C:/temp/idwout_{0}.tif".format(fieldName))
    

One option, here is the general code logic:

  1. Create a script tool with a Field multi value data type

  2. Within the python code, loop through the field list and define the index value as the field parameter within the IDW method

    fieldList = arcpy.GetParameterAsText(0)

     for fieldName in fieldList.split(';'):
         outIDW = Idw(inPointFeatures, fieldName, cellSize, power, searchRadius)
         # Save the output 
         outIDW.save("C:/temp/idwout_{0}.tif".format(fieldName))
    

One option, here is the general code logic:

  1. Create a script tool with a Field multi value data type

  2. Within the python code, loop through the field list and define the index value as the field parameter within the IDW method

     fieldList = arcpy.GetParameterAsText(0)
     for fieldName in fieldList.split(';'):
         outIDW = Idw(inPointFeatures, fieldName, cellSize, power, searchRadius)
         # Save the output 
         outIDW.save("C:/temp/idwout_{0}.tif".format(fieldName))
    
added 4 characters in body
Source Link
artwork21
  • 35.2k
  • 8
  • 67
  • 134

One option, here is the general code logic:

  1. Create a script tool with a Field multi value data type

  2. Within the python code, loop through the field list and define the index value as the field parameter within the IDW method

    fieldList = arcpy.GetParameterAsText(0)

     for fieldName in fieldList.split(';'):
         outIDW = Idw(inPointFeatures, fieldName, cellSize, power, searchRadius)
         # Save the output 
         outIDW.save("C:/temp/idwout_{0}".tif".format(fieldName))
    

One option, here is the general code logic:

  1. Create a script tool with a Field multi value data type

  2. Within the python code, loop through the field list and define the index value as the field parameter within the IDW method

    fieldList = arcpy.GetParameterAsText(0)

     for fieldName in fieldList.split(';'):
         outIDW = Idw(inPointFeatures, fieldName, cellSize, power, searchRadius)
         # Save the output 
         outIDW.save("C:/temp/idwout_{0}".format(fieldName))
    

One option, here is the general code logic:

  1. Create a script tool with a Field multi value data type

  2. Within the python code, loop through the field list and define the index value as the field parameter within the IDW method

    fieldList = arcpy.GetParameterAsText(0)

     for fieldName in fieldList.split(';'):
         outIDW = Idw(inPointFeatures, fieldName, cellSize, power, searchRadius)
         # Save the output 
         outIDW.save("C:/temp/idwout_{0}.tif".format(fieldName))
    
added 267 characters in body
Source Link
artwork21
  • 35.2k
  • 8
  • 67
  • 134

One option, here is the general code logic:

  1. Create a script tool with a Field multi value data type

    Create a script tool with a Field multi value data type

  2. Within the python code, loop through the field list and define the index value as the field parameter within the IDW method

    Within the python code, loop through the field list and define the index value as the field parameter within the IDW method

    fieldList = arcpy.GetParameterAsText(0)

     for fieldName in fieldList.split(';'):
         outIDW = Idw(inPointFeatures, fieldName, cellSize, power, searchRadius)
         # Save the output 
         outIDW.save("C:/temp/idwout_{0}".format(fieldName))
    

One option, here is the general code logic:

  1. Create a script tool with a Field multi value data type
  2. Within the python code, loop through the field list and define the index value as the field parameter within the IDW method

One option, here is the general code logic:

  1. Create a script tool with a Field multi value data type

  2. Within the python code, loop through the field list and define the index value as the field parameter within the IDW method

    fieldList = arcpy.GetParameterAsText(0)

     for fieldName in fieldList.split(';'):
         outIDW = Idw(inPointFeatures, fieldName, cellSize, power, searchRadius)
         # Save the output 
         outIDW.save("C:/temp/idwout_{0}".format(fieldName))
    
Source Link
artwork21
  • 35.2k
  • 8
  • 67
  • 134
Loading