Hi,what are possible reasons for this region group failure?try:
arcpy.CheckOutExtension("Spatial")
outDispBuffRG = RegionGroup(DispBuffBinary, "EIGHT", "WITHIN", "ADD_LINK")
outDispBuffRG.save(DispBuffRG)
except:
print arcpy.GetMessages()
error message:>>> Executing: RegionGroup C:/GIS/LCI/Distributietest/RSP/s1\dpb_rsp_s1 C:\GIS\LCI\Distributietest\RSP\s1\RegionG_dpb_1 EIGHT WITHIN ADD_LINK #Start Time: Wed Dec 14 23:19:59 2011ERROR 010159: Unable to open VAT file of C:\GIS\LCI\Distributietest\RSP\s1\RegionG_dpb_1\RegionG_dpb_1.ERROR 010067: Error in executing grid expression.Failed to execute (RegionGroup).Failed at Wed Dec 14 23:20:00 2011 (Elapsed Time: 1,00 seconds)Why does it want to open the VAT of a raster that doesn't exist yet? To write data?An earlier call of RegionGroup in the same script (but with different datasets) works just fine, even though the syntax is the same...Any thoughts?(I am adapting a script which was originally written for a ArcGIS 9.3 tool.)