-
-
Notifications
You must be signed in to change notification settings - Fork 423
Closed
Labels
BugBug that stops user from using the tool or a major portion of pyRevit functionality [class]Bug that stops user from using the tool or a major portion of pyRevit functionality [class]
Description
✈ Pre-Flight checks
- I don't have SentinelOne antivirus installed (see above for the solution)
- I have searched in the issues (open and closed) but couldn't find a similar issue
- I have searched in the pyRevit Forum for similar issues
- I already followed the installation troubleshooting guide thoroughly
- I am using the latest pyRevit Version
🐞 Describe the bug
When upgrading to PyRevit 6.0.0. or 6.1.0. hooks do not seem to be triggering anymore.
⌨ Error/Debug Message
Nothing happens.♻️ To Reproduce
I made a simple example to test my assumption. When 5.3.1. is installed, there is a popup message when switching views. When 6.0.0. or 6.1.0. is installed I do not get a popup.
my-addin/my-addin.extension/hooks/view-activated.py
from pyrevit import forms
from pyrevit import EXEC_PARAMS
forms.alert(EXEC_PARAMS.event_args.CurrentActiveView.Name)
popup when PyRevit 5.3.1. is installed:

⏲️ Expected behavior
Hooks to trigger.
🖥️ Hardware and Software Setup (please complete the following information)
C:\Users\wietse_d>pyrevit env
==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
master | Branch: "master" | Version: "6.1.0.26047+2255" | Path: "C:\Users\wietse_d\AppData\Roaming\pyRevit-Master"
==> Attachments
master | Product: "2026 First Customer Ship" | Engine: DEFAULT (2712) | Path: "C:\Users\wietse_d\AppData\Roaming\pyRevit-Master"
master | Product: "2025 First Customer Ship" | Engine: DEFAULT (2712) | Path: "C:\Users\wietse_d\AppData\Roaming\pyRevit-Master"
master | Product: "2024.3.4" | Engine: DEFAULT (2712) | Path: "C:\Users\wietse_d\AppData\Roaming\pyRevit-Master"
master | Product: "2023.1.8" | Engine: DEFAULT (2712) | Path: "C:\Users\wietse_d\AppData\Roaming\pyRevit-Master"
==> Installed Extensions
WYC-addins-v2 | Type: Unknown | Repo: "" | Installed: "C:\Users\wietse_d\Documents\WYC-addins\WYC-addins-v2.extension"
==> Default Extension Search Path
C:\Users\wietse_d\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
C:\Users\wietse_d\Documents\WYC-addins
==> Extension Sources - Default
https://github.com/pyrevitlabs/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
2026 First Customer Ship | Version: 26.0.4.409 | Build: 20250227_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2026\"
2025 First Customer Ship | Version: 25.0.2.419 | Build: 20240307_1300(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2025\"
2024.3.4 | Version: 24.3.40.26 | Build: 20250918_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2024\"
2023.1.8 | Version: 23.1.80.30 | Build: 20250724_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2023\"
==> Running Revit Instances
==> User Environment
Microsoft Windows 10 [Version 10.0.26100]
Executing User: WYCKAERT\Wietse_D
Active User: WYCKAERT\Wietse_D
Admin Access: No
%APPDATA%: "C:\Users\wietse_d\AppData\Roaming"
Latest Installed .Net Framework: 10.0.3
No .Net Target Packs are installed.
No .Net-Core Target Packs are installed.
Active CPython Engine Version: 3123
pyRevit CLI v6.1.0.26047+2255.64fcf31ad284fe73a7a3ea3fead3a840f8a408ebAdditional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugBug that stops user from using the tool or a major portion of pyRevit functionality [class]Bug that stops user from using the tool or a major portion of pyRevit functionality [class]