How does the plug-in track automation scripts in python or model builder or GP tools?
River access points need to be within 800 meters of NHD rivers to be considered valid. The map below displays some points that are out of range. Using three different methods to run the same Arc commands, we will remove out of range points.
Screenshot with commands run interactively:
How it looks in ChronoCards timeline, documenting the mistake I made:
Detailed outputs of the each tool as viewed in ChronoCards:
I ran the following model two times: once while I was building it (to test it) and then again as part of my Toolbox. It executes silently during development, but logs output when ran from the geoprocessing toolbar.
ChronoCards timeline, documenting that the first run was not logged (edited for brevity):
Detailed output of the tool, as viewed in ChronoCards (my annotations are in red):
As the analyst note on the timeline says, I didn't include any logging into my model so it didn't output anything other than the raw steps it took. If it did log custom messages from the model into geoprocessing history, those would be reflected in ChronoCards as well.
This is pretty similar to the output of running a model, but with more control. I ran a custom tool I wrote (PyDeletePointsMoreThan800MetersFromRivers.pyt
below) which does the same thing as the model but with more descriptive logging.
Output as seen in Arc:
ChronoCards timeline:
Detailed output:
As you can see here, ChronoCards will catch whatever errors, warnings, or informational messages you pass in your Python-based GP tool. The two middle lines are custom things I told Arc to log.
- It should be noted that each item on the timeline counts as an Arc event to ChronoCards. If you have an analyst who does everything by hand and he is running each step of a tool manually, he will appear to have more events than someone who is using a tool that combines all events.
- We can potentially log more information regarding each of these events, but we leave a some things out to cut down on the noise. If there's something missing that you think should be included, feel free to let me know and we can investigate the feasibility of adding it in.
- Python scripts run entirely headlessly outside of ArcGIS Pro will not submit any events to ChronoCards. The ChronoCards ArcGIS Pro addin is not instantiated if ArcGIS Pro is not open and thus we cannot catch those events.
- When many items are deleted using a single tool, that is reflected as a single GP tool event in ChronoCards instead of an arbitrary number of edit events.