Skip to content

Commit 18b0bd4

Browse files
authored
Merge pull request #2584 from tay0thman/patch-14
Select Entities without Tags - Fixed Syntax Error
2 parents 369bf6f + 504ab04 commit 18b0bd4

File tree

1 file changed

+1
-1
lines changed
  • extensions/pyRevitTools.extension/pyRevit.tab/Selection.panel/select.stack/Select.pulldown/Find And Select Entities Without Tags.pushbutton

1 file changed

+1
-1
lines changed

extensions/pyRevitTools.extension/pyRevit.tab/Selection.panel/select.stack/Select.pulldown/Find And Select Entities Without Tags.pushbutton/script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
untagged_elements = []
238238
for eltid in target_tags:
239239
elt = revit.doc.GetElement(eltid)
240-
elif HOST_APP.is_newer_than(2022, or_equal=True):
240+
if HOST_APP.is_newer_than(2022, or_equal=True):
241241
if elt.GetTaggedLocalElementIds() != DB.ElementId.InvalidElementId:
242242
tagged_elements.append(List[DB.ElementId](get_elementid_value(elt.GetTaggedLocalElementIds())[0]))
243243
else:

0 commit comments

Comments
 (0)