Hi Community, I wanted to know whether there is a Node in any package that has function to filter an element by its name and/or by its id? Thank you.
You would need more than one node, but yes:
- Element.Name or Element.ID to get your identifier
- Comparison node (==) to check the value
- FilterByBoolMask to filter the results.
All out-of-the-box.
1 Like
ID will find one element.
Name may find many elements.
2 Likes
Revit 2021 and onwards has a node for this. My package (Crumple) has a node for this also in prior versions, ElementById.
1 Like