Skip to content

fix #2604 - Select - Find and select entities without dimensions - Not working on Revit 2024#2618

Merged
jmcouffin merged 2 commits intodevelopfrom
fix-2604
Mar 27, 2025
Merged

fix #2604 - Select - Find and select entities without dimensions - Not working on Revit 2024#2618
jmcouffin merged 2 commits intodevelopfrom
fix-2604

Conversation

@jmcouffin
Copy link
Copy Markdown
Contributor

fix #2604 - Select - Find and select entities without dimensions - Not working on Revit 2024

…t working on Revit 2024

fix #2604 - Select - Find and select entities without dimensions - Not working on Revit 2024
@jmcouffin jmcouffin added the Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] label Mar 27, 2025
@jmcouffin jmcouffin requested a review from Copilot March 27, 2025 16:28
@jmcouffin jmcouffin self-assigned this Mar 27, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes issue #2604 by updating the script used to select entities without dimensions in Revit 2024. The changes include:

  • Removing the dependency on get_elementid_value_func and using IntegerValue instead.
  • Updating dictionary formatting and minor code style adjustments.
  • Improving the alert message formatting for clarity.

Copy link
Copy Markdown
Contributor

@devloai devloai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary:

This PR fixes issue #2604 where the 'Find and Select Entities Without Dimensions' tool wasn't working in Revit 2024. The core issue relates to ElementId handling differences in Revit 2024+ where the API changed from using ElementId.IntegerValue to ElementId.Value. The fix implements version-specific handling for this API change.

Review Summary:

The approach to fixing the ElementId handling for newer Revit versions is sound. I've identified a few areas for improvement, particularly ensuring consistent ElementId handling throughout the script. The PR demonstrates good understanding of the Revit API changes between versions.

Please provide feedback on this review which will help improve future reviews.

Follow-up suggestions:

@devloai apply the suggested changes to fix the potential ElementId handling issue at line 39

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.0.1.25086+1637-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.0.1.25090+0650-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.0.1.25090+0707-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2025

📦 New work-in-progress (wip) builds are available for 5.0.1.25092+0954-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2025

📦 New work-in-progress (wip) builds are available for 5.0.1.25093+2001-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2025

📦 New work-in-progress (wip) builds are available for 5.0.1.25094+0703-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2025

📦 New work-in-progress (wip) builds are available for 5.0.1.25094+0800-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2025

📦 New work-in-progress (wip) builds are available for 5.0.1.25094+0926-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2025

📦 New work-in-progress (wip) builds are available for 5.1.0.25094+0940-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2025

📦 New public release are available for 5.1.0.25094+1133

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2025

📦 New public release are available for 5.1.0.25094+1133

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2025

📦 New public release are available for 5.1.0.25094+1133

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]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants