mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
retain current selection in bim.select_similar_type
This commit is contained in:
@@ -239,7 +239,7 @@ class SelectSimilarType(bpy.types.Operator):
|
||||
for related_object in objects:
|
||||
relating_type = ifcopenshell.util.element.get_type(tool.Ifc.get_entity(related_object))
|
||||
if not relating_type:
|
||||
related_object.select_set(False)
|
||||
# Keep objects without a type selected (retain current selection)
|
||||
continue
|
||||
relating_types.add(relating_type)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user