Skip to content

[Bug]: Section Box Navigator #3243

@porrt23

Description

@porrt23

✈ 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

There needs to be a conversion of the levels from survey to project in the tool. The current setup uses only "Elevation" parameter. I think "ProjectElevation" parameter may be better suited. This becomes an issue when levels are based off of a Survey Point that differs from the Project Point. For example, I have selected the "1st Floor" level. Project elevation is (-0'-6") and Survey Elevation is (926'-6"). When the Navigator tool reads it, it assumes that "Elevation" parameter is Project, though in this case it is Survey. So if the "Top Level" adjustment is used, the top of the section box goes up to (926'-6") Project Elevation. You can see the results in the screenshots below.

Image Image

⌨ Error/Debug Message

No error message. Just incorrect behaviour

♻️ To Reproduce

  1. Set levels to use "Survey Point" that is different value than "Project Point"
  2. Start Section Box Navigator
  3. Adjust Top/Bottom levels
  4. Notice difference

⏲️ Expected behavior

Behavior should be the same regardless if levels are survey or project elevations.

🖥️ Hardware and Software Setup (please complete the following information)

==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
master | Branch: "master" | Version: "6.1.0.26077+2319-wip" | Path: "C:\Program Files\pyRevit-Master"
==> Attachments
master | Product: "2026 First Customer Ship" | Engine: DEFAULT (2712) | Path: "C:\Program Files\pyRevit-Master" | AllUsers
master | Product: "2025 First Customer Ship" | Engine: DEFAULT (2712) | Path: "C:\Program Files\pyRevit-Master" | AllUsers
master | Product: "2024.3.4" | Engine: DEFAULT (2712) | Path: "C:\Program Files\pyRevit-Master" | AllUsers
master | Product: "2023.1.9" | Engine: DEFAULT (2712) | Path: "C:\Program Files\pyRevit-Master" | AllUsers
master | Product: "2022.1.8" | Engine: DEFAULT (2712) | Path: "C:\Program Files\pyRevit-Master" | AllUsers
master | Product: "2021.1.5" | Engine: DEFAULT (2712) | Path: "C:\Program Files\pyRevit-Master" | AllUsers
master | Product: "2020 First Customer Ship" | Engine: DEFAULT (2712) | Path: "C:\Program Files\pyRevit-Master" | AllUsers
master | Product: "2019.2.4" | Engine: DEFAULT (2712) | Path: "C:\Program Files\pyRevit-Master" | AllUsers
master | Product: "2018.3.3 Security Fix" | Engine: DEFAULT (2712) | Path: "C:\Program Files\pyRevit-Master" | AllUsers
master | Product: "2017.2.5 Security Fix" | Engine: DEFAULT (2712) | Path: "C:\Program Files\pyRevit-Master" | AllUsers
==> Installed Extensions
==> Default Extension Search Path
C:\Users\***\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
==> 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.9 | Version: 23.1.90.15 | Build: 20260220_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2023\"
2022.1.8 | Version: 22.1.80.32 | Build: 20241107_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2022\"
2021.1.5 | Version: 21.1.50.27 | Build: 20211018_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2021\"
2020 First Customer Ship | Version: 20.0.0.377 | Build: 20190327_2315(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2020\"
2019.2.4 | Version: 19.2.40.15 | Build: 20211029_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2019\"
2018.3.3 Security Fix | Version: 18.3.3.18 | Build: 20190510_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2018\"
2017.2.5 Security Fix | Version: 17.0.1169.0 | Build: 20190508_0315(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2017\"
==> Running Revit Instances
PID: 32912 | 2025.4.4 | Version: 25.4.41.14 | Build: 20251111_1515(x64) | Language: 0 | Path: "C:\Program Files\Autodesk\Revit 2025"
PID: 39636 | 2025.4.4 | Version: 25.4.41.14 | Build: 20251111_1515(x64) | Language: 0 | Path: "C:\Program Files\Autodesk\Revit 2025"
==> User Environment
Microsoft Windows 10 [Version 10.0.26200]
Executing User: ***
Active User: ***
Admin Access: No
%APPDATA%: "C:\Users\***\AppData\Roaming"
Latest Installed .Net Framework: 10.0.4
No .Net Target Packs are installed.
No .Net-Core Target Packs are installed.
Active CPython Engine Version: 0
pyRevit CLI v6.1.0.26077+2319-wip.c65de4f3fe8074b8f7fd9e49d7516777c6a48abd

Additional context

No response

Metadata

Metadata

Assignees

Labels

BugBug that stops user from using the tool or a major portion of pyRevit functionality [class]

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions