Closed adecler closed 3 years ago
@BHoMBot check copyright
Is it possible to log usage by Dynamo scripts that don't contain any BHoM functionality, perhaps by calling some method? If so, could you recommend a method that doesn't do much, but could be placed in a script for the sake of logging the use of that script file?
Is it possible to log usage by Dynamo scripts that don't contain any BHoM functionality, perhaps by calling some method? If so, could you recommend a method that doesn't do much, but could be placed in a script for the sake of logging the use of that script file?
@AndreBalasian , The new SetProjectID component from this set of PRs seems to be a good candidate for that. See https://github.com/BHoM/BHoM_UI/pull/370
I have just tested the PR, looks like it works fine locally (SetProjectID
checked, local log creation checked, local log update checked). Could you check if the logs got recorded in the database too, @adecler @al-fisher? ProjectIds are Hey Jude 18 for Revit 2018 + Dynamo 2.0 and Hey Jude 20 for Revit 2020 and Dynamo 2.3 🙈
Could you check if the logs got recorded in the database too, @adecler @al-fisher? ProjectIds are Hey Jude 18 for Revit 2018 + Dynamo 2.0 and Hey Jude 20 for Revit 2020 and Dynamo 2.3 🙈
Yes, they are showing in the database. Thanks @pawelbaran
NOTE: Depends on
https://github.com/BHoM/BHoM_Engine/pull/2312 https://github.com/BHoM/BHoM_UI/pull/370
Issues addressed by this PR
Provide changes required for fileName and project code to be saved by analytics.
Test files
Will be tested alongside the BHoMAnalytics PR