I am using I am writing a script to create a tool (in ArcMap 10.7.1) that involves overlaying an agricultural field with a specific grid size. I need the grid to contain a custom width and height of the individual cells, as specified by the tool user. The input will look like this:
#User-defined input, stored as an integer cellSize = arcpy.GetParameterAsText(0) #Generate grid polygonWidth = cellSize polygonHeight = cellSize
The grid will be generated with the
What I don't know how to do is to add the measurement units to the end of the tool parameter. I want the numeric entry that my users provide to be followed by "feet."
When I upload my script to the toolbox, is there an option that will allow me to specify the measurement units, so that I will be able to generate a proper grid?