Software Development

Python Toolbox Enhancement and debugging

Debugged and enhanced Python Toolbox tools to run in both ArcMap and ArcGIS Pro environments

Client

Capital Metro

Austin, Texas

The client had a python toolbox that had two separate tools. One of the tools failed upon user entering parameters, and required debugging and identifying the source of the problem. This included ensuring all queries and dynamically updating parameters were set up correctly. The client also requested to have both of the tools to run in both the ArcGIS ArcMap environment and in ArcGIS Pro, keeping both in a single python toolbox project.

Services Provided:

Reviewed requirements of tool

Debugged tool that was failing

Ensured dynamically updating parameters populated correctly

Enhanced tool to run in both ArcMap and ArcGIS Pro

Solutions

Solutions

  • Review existing python toolbox project and identify portion causing one of the tools to fail
  • Fix identified problems within the existing code surrounding the query building and dynamically updating parameters
  • Incorporate logic in whole project to allow tools to run in either ArcGIS ArcMap or ArcGIS Pro

Note

Notable Accomplishments

Previously this python toolbox project only ran in the ArcGIS ArcMap environment. Through the use of software use detection logic, and incorporating the necessary syntax differences between ArcMap and ArcGIS Pro, the python toolbox tools now can be ran in either environment.