Hi all,
Pretty basic question but I'm trying to write an script tool and I have four tiffs and I'm trying to get the user to input for the mosaic tool and it won't take them. I'm sure I'm doing something very stupid and basic but if somebody could tell me what that is that would be great. Thanks.
Pretty basic question but I'm trying to write an script tool and I have four tiffs and I'm trying to get the user to input for the mosaic tool and it won't take them. I'm sure I'm doing something very stupid and basic but if somebody could tell me what that is that would be great. Thanks.
Code:
inputs = arcpy.GetParameterAsText(1), arcpy.GetParameterAsText(2), arcpy.GetParameterAsText(3), arcpy.GetParameterAsText(4)
# Set the target to the Raster Dataset that was already created
target = "R_Dataset"
# Run the Mosaic tool
arcpy.Mosaic_management (inputs, target, "LAST", "FIRST", "", "", "NONE", "0", "NONE")