mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 11:32:40 +00:00
Clarifying info message saving guids to the text inside .blend #4446
Example - https://i.imgur.com/YtuQ9YA.png
This commit is contained in:
@@ -131,6 +131,7 @@ class SelectFilterElements(bpy.types.Operator):
|
|||||||
text_data = bpy.data.texts.new(name)
|
text_data = bpy.data.texts.new(name)
|
||||||
text_data.from_string(",".join(global_ids))
|
text_data.from_string(",".join(global_ids))
|
||||||
filter_groups[self.group_index].filters[self.index].value = f"bpy.data.texts['{name}']"
|
filter_groups[self.group_index].filters[self.index].value = f"bpy.data.texts['{name}']"
|
||||||
|
self.report({"INFO"}, f'List of Global Ids were saved to the text file "{name}" in the current .blend file')
|
||||||
else:
|
else:
|
||||||
filter_groups[self.group_index].filters[self.index].value = ",".join(global_ids)
|
filter_groups[self.group_index].filters[self.index].value = ",".join(global_ids)
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|||||||
Reference in New Issue
Block a user