I am trying to run CalculateGeometryAttributes_management, but I can not figure out what data type to use for the
Dictionary<string,string> items = new Dictionary<string, string> { "Area", "AREA" };
arguments1 = Geoprocessing.MakeValueArray(floodShape, items, "FEET_US", "SQUARE_FEET_US");
gpResult1 = Geoprocessing.ExecuteToolAsync("CalculateGeometryAttributes_management", arguments1, enviroment, null, null, GPExecuteToolFlags.None);
Anyone know what data type to use?
It is recommended that a user always check the tool's documentation page to make sure the data type of each parameter. For example the doc for the tool is here - you can jump to this page by clicking on the help button (? mark).
https://pro.arcgis.com/en/pro-app/tool-reference/data-management/calculate-geometry-attributes.htm
There you'll find the syntax:
CalculateGeometryAttributes_management (in_features, geometry_property, {length_unit}, {area_unit}, {coordinate_system})
Below the syntax, you'll see data type of each parameter, with explanation and valid values.