Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revit 2024 - Sync Views Not Working[Bug]: #2168

Closed
5 tasks done
kslifter opened this issue Mar 22, 2024 · 7 comments
Closed
5 tasks done

Revit 2024 - Sync Views Not Working[Bug]: #2168

kslifter opened this issue Mar 22, 2024 · 7 comments
Labels
Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] needs-more-info Issue required to follow the bug report template. Triggered by the stale issue workflow

Comments

@kslifter
Copy link

✈ 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

  1. Open floor plan view
  2. Open another floor plan view
  3. Turn on Sync views
  4. Zoom to area on plan
  5. 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

@kslifter kslifter added the Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] label Mar 22, 2024
@jmcouffin
Copy link
Contributor

If I remember right, the tool is designed to sync floorplan and reflected floorplan only

@github-actions github-actions bot added the needs-more-info Issue required to follow the bug report template. Triggered by the stale issue workflow label Mar 22, 2024
@kslifter
Copy link
Author

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.

@github-actions github-actions bot removed the needs-more-info Issue required to follow the bug report template. Triggered by the stale issue workflow label Mar 22, 2024
@jmcouffin
Copy link
Contributor

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?

@github-actions github-actions bot added the needs-more-info Issue required to follow the bug report template. Triggered by the stale issue workflow label Mar 22, 2024
@kslifter
Copy link
Author

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.

@github-actions github-actions bot removed the needs-more-info Issue required to follow the bug report template. Triggered by the stale issue workflow label Mar 22, 2024
@jmcouffin
Copy link
Contributor

jmcouffin commented Mar 25, 2024

It seems to work as expected on my side

syncv.mp4

@github-actions github-actions bot added the needs-more-info Issue required to follow the bug report template. Triggered by the stale issue workflow label Mar 25, 2024
@jmcouffin
Copy link
Contributor

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

@kslifter
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] needs-more-info Issue required to follow the bug report template. Triggered by the stale issue workflow
Projects
None yet
Development

No branches or pull requests

2 participants