Python package
ra.time_tracking
The time tracker’s records (the ArtisanTimeTracker panel), read-only: how long each saved file has been worked on, per day.
import rhinoartisan as ra
Wraps ArtisanPlugin.Scripting.TimeTrackingApi.
Functions
| Function | |
|---|---|
report() | Time worked per file and per day, as the Time Tracker panel shows it. |
ra.time_tracking.report()
ra.time_tracking.report(period=None, file=None) -> TimeTrackingReport
Time worked per file and per day, as the Time Tracker panel shows it. period: ALL (default), TODAY, WEEK (since Monday) or MONTH. file keeps only the files whose name or path contains it (case-insensitive). Reads the tracker’s live records (the log file on disk can lag a few minutes). Read-only.
| Parameter | Type | |
|---|---|---|
period | str | optional — None = the tool default |
file | str | optional — None = the tool default |