Hi Rebecca, unfortunatelty this is an issue with the tool not updating the default name for each iteration and not being able to handle inline variables. A defect has been submitted (reference NIM087496). As for a workaround. How famililar are you with python? A pretty simple python expression (see attached python script) can accomplish this. If you require a model builder tool as part of a bigger workflow, you could always modify this to create a script tool which you can use in a model. The code is used to create a list of rasters from a workspace (much like the iterator does). I have provided a wildcard option as well to select only rasters with the characters "_b" in the name. This multivalue list can then be used as input to the ExtractMultivaluesToPoints tool. The field names will default to the same name as the input raster. Based on your description this should provide you with the desired output. Here is a following code example: inRasterWksp = r"D:\data\rasters.gdb"
inPnts = r"D:\data\fgdb.gdb\randPnts"
arcpy.CheckOutExtension("Spatial")
arcpy.env.workspace = inRasterWksp
#create a list of rasters (GRID only) with "-b" in the name
rasters = arcpy.ListRasters("*_b*","")
#run tool with all rasters in the list accepting default field names
result = arcpy.sa.ExtractMultiValuesToPoints(inPnts,rasters) Good luck. I hope this helps. -Ryan No one ever replied, so I will....Thank you! This script served excellently as a solution to the problem.
... View more