Skip to content

MEP Spaces and Zones behaviour fix#2690

Merged
jmcouffin merged 1 commit intodevelopfrom
fix/2684
Jun 3, 2025
Merged

MEP Spaces and Zones behaviour fix#2690
jmcouffin merged 1 commit intodevelopfrom
fix/2684

Conversation

@jmcouffin
Copy link
Copy Markdown
Contributor

Description

MEP Spaces and Zones behaviour fix


Checklist

Before submitting your pull request, ensure the following requirements are met:

  • Code follows the PEP 8 style guide.
  • Code has been formatted with Black using the command:
    pipenv run black {source_file_or_directory}
  • Changes are tested and verified to work as expected.

Related Issues

If applicable, link the issues resolved by this pull request:

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 makes minor code improvements to the Color Splasher tool including:
• Changed string conversion from str() to .ToString()
• Improved null checking logic for type parameters
• Removed redundant reverse=False parameters in sorting
• Fixed some indentation issues

Review Summary:

I found one critical bug where is is used instead of == for string comparison, which could cause unpredictable behavior in IronPython. However, this PR does not address the root cause of issue #2684 where MEP Spaces and HVAC Zones are not being detected. The actual bug is in the category filtering logic at line 1473 (current_int_cat_id >= -1) which excludes virtually all built-in categories since they have negative IDs like -2008000. This condition should likely be == -1 or removed entirely. Please provide feedback on this review which I'll incorporate for future reviews.

Follow-up suggestions:

@devloai fix the identified string comparison bug
@devloai investigate and fix the category filtering issue causing #2684

jmcouffin added a commit that referenced this pull request Jun 3, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jun 3, 2025

📦 New work-in-progress (wip) builds are available for 5.1.0.25154+0858-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jun 3, 2025

📦 New work-in-progress (wip) builds are available for 5.1.0.25154+0920-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jun 4, 2025

📦 New work-in-progress (wip) builds are available for 5.1.0.25155+0904-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.1.0.25162+1125-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.1.0.25162+1306-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.1.0.25162+2030-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.1.0.25164+0700-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.1.0.25164+1347-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.1.0.25164+1420-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.1.0.25164+1830-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.1.0.25171+0757-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.2.0.25181+1313-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New public release are available for 5.2.0.25181+1425

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Latest version of Color Splasher detects less elements, including but not limited to MEP spaces and HVAC Zones..

1 participant