Revit 2024 - Sync Views Not Working[Bug]:
kslifter opened this issue · comments
✈ 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
I have turned sync views on and I'm using viewports and the tool isn't working. It isn't jumping to the same view as the previous window.
⌨ Error/Debug Message
Here is the what is generated when clicking the sync button in debug mode:
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Architecture
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Structure
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Steel
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Precast
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Systems
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Insert
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Annotate
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Analyze
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Massing & Site
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Collaborate
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: View
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Manage
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Create
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Insert
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Annotate
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: View
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Manage
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Add-Ins
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Enscape™
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: DiRootsOne
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Bird Tools
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: JOTools
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Ideate Software
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Overtur
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: EF_Tools
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: pyChilizer
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: pyRevit
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Primetools
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Sentio™
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Modify
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Modify
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: In-Place Model
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: In-Place Mass
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Zone
DEBUG [pyrevit.coreutils.ribbon] Tab added to the list of tabs: Family Editor
DEBUG [pyrevit.script] Setting icon state to: True (C:\Users\ian\AppData\Roaming\pyRevit-Master\extensions\pyRevitTools.extension\pyRevit.tab\Toggles.panel\toggles2.stack\Sync Views.smartbutton\on.png)
DEBUG [pyrevit.coreutils.ribbon] Creating 16x16 bitmap from: C:\Users\ian\AppData\Roaming\pyRevit-Master\extensions\pyRevitTools.extension\pyRevit.tab\Toggles.panel\toggles2.stack\Sync Views.smartbutton\on.png
DEBUG [pyrevit.coreutils.ribbon] Creating 24x24 bitmap from: C:\Users\ian\AppData\Roaming\pyRevit-Master\extensions\pyRevitTools.extension\pyRevit.tab\Toggles.panel\toggles2.stack\Sync Views.smartbutton\on.png
♻️ To Reproduce
- Open floor plan view
- Open another floor plan view
- Turn on Sync views
- Zoom to area on plan
- Open other view - it doesn't zoom to that area
⏲️ Expected behavior
It Should zoom to the same work area as the previous view
🖥️ Hardware and Software Setup (please complete the following information)
C:\Windows\System32>pyrevit env
==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
master | Deploy: "basepublic" | Branch: "master" | Version: "4.8.14.24016+1909" | Path: "C:\Users\ian\AppData\Roaming\pyRevit-Master"
==> Attachments
master | Product: "24.2" | Engine: IPY277 (277) | Path: "C:\Users\ian\AppData\Roaming\pyRevit-Master"
master | Product: "2023.1.1" | Engine: IPY277 (277) | Path: "C:\Users\ian\AppData\Roaming\pyRevit-Master"
master | Product: "2022.1.5" | Engine: IPY277 (277) | Path: "C:\Users\ian\AppData\Roaming\pyRevit-Master"
==> Installed Extensions
EF-Tools | Type: UIExtension | Repo: "https://github.com/ErikFrits/EF-Tools.git" | Installed: "G:\Shared drives\PRIME DESIGN\STANDARDS\DYNAMO\Pyrevit\Pyrevit Toolbar\EF-Tools.extension"
Prime | Type: Unknown | Repo: "" | Installed: "G:\Shared drives\PRIME DESIGN\STANDARDS\DYNAMO\Pyrevit\Pyrevit Toolbar\Prime.extension"
==> Default Extension Search Path
C:\Users\ian\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
G:\Shared drives\PRIME DESIGN\STANDARDS\DYNAMO\Pyrevit\Pyrevit Toolbar
==> Extension Sources - Default
https://github.com/eirannejad/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
24.2 | Version: 24.2.0.63 | Build: 20231029_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2024\"
2023.1.1 | Version: 23.1.10.4 | Build: 20221122_1550(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2023\"
2022.1.5 | Version: 22.1.50.17 | Build: 20230915_1530(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2022\"
==> Running Revit Instances
PID: 15380 | 24.2 | Version: 24.2.0.63 | Build: 20231029_1515(x64) | Language: 0 | Path: "C:\Program Files\Autodesk\Revit 2024"
PID: 1016 | 2022.1.5 | Version: 22.1.50.17 | Build: 20230915_1530(x64) | Language: 0 | Path: "C:\Program Files\Autodesk\Revit 2022"
==> User Environment
Microsoft Windows 10 [Version 10.0.22631]
Executing User: PD-IAN-THINKST\ian
Active User: PD-IAN-THINKST\ian
Admin Access: No
%APPDATA%: "C:\Users\ian\AppData\Roaming"
Latest Installed .Net Framework: 4.8
No .Net Target Packs are installed.
No .Ne-Core Target Packs are installed.
pyRevit CLI v4.8.14.24016+1909.ee814ee2f686d23db8bb6ff80d8bb918ff9adc99
Additional context
No response
If I remember right, the tool is designed to sync floorplan and reflected floorplan only
I've only ever used it on Floor Plans, typically to bounce between stair and elevator views. That is what I was trying to do today, but when switching between floor plan views it doesn't zoom to the stair I was working on.
I've only ever used it on Floor Plans, typically to bounce between stair and elevator views. That is what I was trying to do today, but when switching between floor plan views it doesn't zoom to the stair I was working on.
Not sure I follow what you are doing.
Which views (view types) do you have in parallel?
I have 8 floor plans open, each floor of our building, and I am editing the stair doors. So I typically turn on sync view so that way I can switch between floor plan views and not have to zoom to the door each time. Today when I tried to do this it didn't zoom to the stair door when I switched views with sync views turned on.
It seems to work as expected on my side
syncv.mp4
maybe you don't have admin rights on the folder where the tmp file is being saved. This file is an intermediary that saves the view and zoom data. It is located in the %appdata%/pyrevit/cache/ folder as a .tmp file
So I shutdown my computer over the weekend and when I tried it this morning it worked like it should. Thanks for taking the time to help me.