DynamoDS / DynamoRevit

Dynamo Libraries for Revit
https://dynamobim.org
336 stars 187 forks source link

Select Model Element(s) By Category not backward compatiable #3052

Open ParametricMonkey opened 7 months ago

ParametricMonkey commented 7 months ago

Dynamo Version

2.16 & 2.19

Revit Version

Revit 2023 & Revit 2024

Operating System

Windows 11

What did you do?

Opened a Dynamo graph saved in Revit 2024/Dynamo 2.19 in Revit 2023/Dynamo 2.16

What did you expect to see?

The ability to select a model element by category

What did you see instead?

Unable to select any model elements

Stacktrace/logs

No response

Details

I understand that the category enumeration might have changed between Revit versions, but the 'Select Model Element By Category' node should still be backward compatible between Revit 2024 and Revit 2023. Currently, it doesn't seem to work.

ParametricMonkey commented 7 months ago

The category is was set to filter by was 'Lines"

Mikhinja commented 6 months ago

@ParametricMonkey Thanks for raising this.

For now I can confirm the category id change does influence this issue, and that resaving the graph in Dynamo 2.16.1 (Revit 2023), and restarting Dynamo fixes the node - updates the selected index for that category id.