Adding toolboxes in Python

The Crime Analysis Tools corresponding with the Crime Analysis Add-In are found in your operating system Assembly Cache folder. To use the Crime Analysis Tools in the Python Window or standalone script import the toolbox from its Assemble Cache folder location:


arcpy.ImportToolbox("C:\\Users\\<username>\\AppData\\Local\\ESRI\\ArcGISPro\\AssemblyCache\\{fc2a6931-4585-4ab2-9df0-13da2e49109c}\\src\\crimeanalysis\\esri\\toolboxes\\CrimeAnalysisTools.pyt")
    

For more information using toolboxes within a Python script, see Adding toolboxes in Python topic.

Top