Skip to content

.NET API

TimeTrackingApi

The time tracker’s records (the ArtisanTimeTracker panel), read-only: how long each saved file has been worked on, per day. Time counts while Rhino is in front with that file open and the user has used the keyboard or mouse within the idle threshold (Options > Artisan > Time tracking); unsaved documents are not tracked.

from ArtisanPlugin.Scripting import TimeTrackingApi

See also the Python package, ra.time_tracking.

Methods

Method
ReportTime worked per file and per day, as the Time Tracker panel shows it.

Report

TimeTrackingReport TimeTrackingApi.Report(string period = null, string file = null)

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.

ParameterTypeDefault
periodstringnull
filestringnull

Returns TimeTrackingReport.