Skip to content

[Bug]: Select - Find and select entities without dimensions - Not working on Revit 2024. #2604

@AntoineMorisetti

Description

@AntoineMorisetti

✈ 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

Hi, the tool appears to works flawlessly on revit 2023 and lower,
but the tool does not do any selection on revit 2024.

checked on multiple computers/ got the latest version.
Could not find any topics on that.
Many thanks for all the brilliant work anyways!

⌨ Error/Debug Message

no action on trigger, it just doesn't select the items.

♻️ To Reproduce

No response

⏲️ Expected behavior

select the items that doesnt have dimension in the view.

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

==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
master | Deploy: "basepublic" | Branch: "master" | Version: "5.0.1.25051+1239" | Path: "C:\Users\antoi\AppData\Roaming\pyRevit-Master"
==> Attachments
master | Product: "Autodesk Revit 2025" | Engine: ? | Path: "C:\Users\antoi\AppData\Roaming\pyRevit-Master"
master | Product: "Autodesk Revit 2024" | Engine: ? | Path: "C:\Users\antoi\AppData\Roaming\pyRevit-Master"
master | Product: "Autodesk Revit 2023" | Engine: ? | Path: "C:\Users\antoi\AppData\Roaming\pyRevit-Master"
master | Product: "Autodesk Revit 2022" | Engine: ? | Path: "C:\Users\antoi\AppData\Roaming\pyRevit-Master"
master | Product: "Autodesk Revit 2021" | Engine: ? | Path: "C:\Users\antoi\AppData\Roaming\pyRevit-Master"
master | Product: "Autodesk Revit 2020" | Engine: ? | Path: "C:\Users\antoi\AppData\Roaming\pyRevit-Master"
master | Product: "2019.2.6" | Engine: ? | Path: "C:\Users\antoi\AppData\Roaming\pyRevit-Master"
==> Installed Extensions
==> Default Extension Search Path
C:\Users\antoi\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
==> Extension Sources - Default
https://github.com/eirannejad/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
Autodesk Revit 2025 | Version: 25.4.0.32 | Build: 20241202_1040(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2025\"
Autodesk Revit 2024 | Version: 24.3.10.22 | Build: 20241105_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2024\"
Autodesk Revit 2023 | Version: 23.1.60.36 | Build: 20241107_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2023\"
Autodesk Revit 2022 | Version: 22.1.80.32 | Build: 20241107_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2022\"
Autodesk Revit 2021 | Version: 21.1.70.21 | Build: 20220517_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2021\"
Autodesk Revit 2020 | Version: 20.2.90.12 | Build: 20220517_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2020\"
2019.2.6 | Version: 19.2.60.3 | Build: 20220224_1700(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2019\"
==> Running Revit Instances
Error: Object reference not set to an instance of an object.
Run with "--debug" option to see debug messages

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    API ChangeRevit API change that breaks pyRevit [class->Upgraded #{number}: {title}]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