diff --git a/src/bonsai/bonsai/bim/module/search/operator.py b/src/bonsai/bonsai/bim/module/search/operator.py index 8ae7d52376..ec985a1e4d 100644 --- a/src/bonsai/bonsai/bim/module/search/operator.py +++ b/src/bonsai/bonsai/bim/module/search/operator.py @@ -106,6 +106,8 @@ class SelectFilterElements(bpy.types.Operator): query = tool.Search.get_query_for_selected_elements() filter_groups[self.group_index].filters[self.index].value = query if query.startswith("bpy.data.texts['"): + text: bpy.types.Text = eval(query) + name = text.name self.report({"INFO"}, f'List of Global Ids was saved to the text file "{name}" in the current .blend file') return {"FINISHED"}