Arcpy - How to get executing tool name

by Patrick Chapuis   Last Updated September 14, 2018 15:22 PM

I created a script in a custom ToolBox and I defined a name (here ImportTopojis): enter image description here

This name is displayed when you execute the tool : enter image description here

I simply want to get this name because I want to use a single Python file for multiple tools and choose the proper class to use depending oh this name.

Thank you by advance !

Related Questions

Using a custom python tool to change a closed mxd

Updated August 09, 2018 17:22 PM