# Blender 3.2 how to find unselectable ob

**URL:** <https://blenderartists.org/t/blender-3-2-how-to-find-unselectable-ob/1395763>\
**Category:** Basics & Interface\
**Tags:** solved\
**Created:** [August 8, 2022, 7:56pm UTC](https://blenderartists.org/t/blender-3-2-how-to-find-unselectable-ob/1395763 "2022-08-08T19:56:06Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![RickyBlender](https://blenderartists.org/user_avatar/blenderartists.org/rickyblender/32/7134_2.png) [@RickyBlender](https://blenderartists.org/u/RickyBlender)\
**Post date:** [August 9, 2022, 7:42pm UTC](https://blenderartists.org/t/blender-3-2-how-to-find-unselectable-ob/1395763/21 "2022-08-09T19:42:31Z")

</div>

does your script find ob in all colllection hidden or not ?

just saw something strange  
i got a cylinder in collection 1 but it is also in collection 3

not certain how it is  
is it possible one object can belong to 2 collections ?

i will make another test file and try to remove the collection  
i don’t need

thanks  
happy bl

---

<div class="post-metadata">

**Author:** ![joseph](https://blenderartists.org/user_avatar/blenderartists.org/joseph/32/1433056_2.png) [@joseph](https://blenderartists.org/u/joseph)\
**Post date:** [August 9, 2022, 8:09pm UTC](https://blenderartists.org/t/blender-3-2-how-to-find-unselectable-ob/1395763/22 "2022-08-09T20:09:08Z")

</div>

> [@RickyBlender](#):
>
> is it possible one object can belong to 2 collections ?

Yep. Collections aren’t exclusive like folders, they’re more like tags organizationally. An item can be in any number of collections at once

---

<div class="post-metadata">

**Author:** ![RickyBlender](https://blenderartists.org/user_avatar/blenderartists.org/rickyblender/32/7134_2.png) [@RickyBlender](https://blenderartists.org/u/RickyBlender)\
**Post date:** [August 9, 2022, 8:49pm UTC](https://blenderartists.org/t/blender-3-2-how-to-find-unselectable-ob/1395763/23 "2022-08-09T20:49:38Z")

</div>

i’m still learning bl 3.2  
so sorry if i ask a lot of questions

how to make an ob in 2 collections?  
is it call an instance  
is there a way to look at outliner and see ob is an instance ?

just discovered something  
obj = bpy.context.object  
this finds only ob in main scene or root collection  
if collections are hiden

obj = bpy.context.scene.objects  
this on finds what and where?

thanks  
happy bl

---

<div class="post-metadata">

**Author:** ![RPaladin](https://blenderartists.org/user_avatar/blenderartists.org/rpaladin/32/981579_2.png) [@RPaladin](https://blenderartists.org/u/RPaladin)\
**Post date:** [August 9, 2022, 9:46pm UTC](https://blenderartists.org/t/blender-3-2-how-to-find-unselectable-ob/1395763/24 "2022-08-09T21:46:00Z")

</div>

> [@RickyBlender](#):
>
> does your script find ob in all colllection hidden or not ?

No, it does not. Because you can’t select an object that is in a hidden collection anyhow.

> [@RickyBlender](#):
>
> is it possible one object can belong to 2 collections ?

As josephhansen already mentioned, yes; you can. This is common with collection instancing (this was called group instancing in pre-2.8 versions). To my knowledge however, each object must have a unique name though. I could be mistaken.

> [@RickyBlender](#):
>
> how to make an ob in 2 collections?  
> is it call an instance

Any object in a collection is automatically ready to be used as a collection instance.

 ![image](https://blenderartists.org/uploads/default/original/4X/d/b/3/db3c32828bd1fb98cd08841f04cb56be693e2ecb.png)

You can create a new collection instance via Shift + A → Collection Instance.

 ![image](https://blenderartists.org/uploads/default/original/4X/a/a/5/aa569bd5d9f7c6abc3820f29b4a68bfdba33d68e.png)

---

<div class="post-metadata">

**Author:** ![RickyBlender](https://blenderartists.org/user_avatar/blenderartists.org/rickyblender/32/7134_2.png) [@RickyBlender](https://blenderartists.org/u/RickyBlender)\
**Post date:** [August 11, 2022, 11:16pm UTC](https://blenderartists.org/t/blender-3-2-how-to-find-unselectable-ob/1395763/25 "2022-08-11T23:16:53Z")

</div>

is there some video to show how to work with these  
object instance in collections  
i still have some difficulties to understand how to and when to use this!

now for the hidden list  
i search the web for codes snippet in bl 3.2  
and i found one  
i needed to modify it to find all the unselectable ob  
and i modified it to show names and locations  
i use same command then earlier script

for i in bpy.context.scene.objects:

```
if i.hide_select==True :
    print ('obj name = ' , i.name,' is not selectable = ', i.hide_select , ' coll = ' , ob.users_collection , ' LOc = ' , i.location )

```

not certain why this did not work in the other script  
cause i use same command to show hidden ob !

location is needed to determine which hidden ob you want to find  
in viewport

i think there should be like an over ride command to be able to select hidden ob in viewport !  
would make life easier

thanks  
happy bl

---

<div class="post-metadata">

**Author:** ![RPaladin](https://blenderartists.org/user_avatar/blenderartists.org/rpaladin/32/981579_2.png) [@RPaladin](https://blenderartists.org/u/RPaladin)\
**Post date:** [August 12, 2022, 2:38am UTC](https://blenderartists.org/t/blender-3-2-how-to-find-unselectable-ob/1395763/26 "2022-08-12T02:38:32Z")

</div>

> [@RickyBlender](#):
>
> is there some video to show how to work with these  
> object instance in collections  
> i still have some difficulties to understand how to and when to use this!

I’m not aware of any tutorials… but you can always search YouTube. In my opinion, to understand collection instances, just think of a magic box that magically contains any object that is assigned to a collection. The magic box also also allows you to choose that are contained within it in unlimited quantity - these examples is basically what collection instances are.

> [@RickyBlender](#):
>
> not certain why this did not work in the other script

That’s not not the correct location. Place it under: `for a1 in d1:`.

```python
import bpy

SELECTABLE_OBJECTS = []
ALL_OBJECTS = []
SELECTED_OBJECTS = []

def find_if_selectable():

    # Get all unselected objects
    for c1 in bpy.data.collections:
        for o1 in c1.all_objects:
            if o1.hide_select:
                SELECTABLE_OBJECTS.append(o1)
       
    # Remove duplicate strings, then output final list names
    d1 = [*set(SELECTABLE_OBJECTS)]
    for a1 in d1:
        print("obj name = " , a1.name," is not selectable = ", a1.hide_select , " coll = " , a1.users_collection , " LOc = " , a1.location )
                
def find_all_selectable():

    # Get all scene objects + selected objects in Outliner
    for w in bpy.context.window_manager.windows:
        for a in w.screen.areas:
            if a.type == "OUTLINER":
                with bpy.context.temp_override(window=w, area=a):
                    for c2 in bpy.data.collections:
                        for o2 in c2.all_objects:
                            ALL_OBJECTS.append(o2)
                    for item in bpy.context.selected_ids:
                        if item.bl_rna.identifier == "Object":
                            SELECTED_OBJECTS.append(bpy.data.objects[str(item.name)])

    # Remove duplicate strings, then output final list names
    d2 = [*set(ALL_OBJECTS)]
    for a2 in d2:
        if a2 not in SELECTED_OBJECTS:
            print("Unselected object: " + a2.name)
    
find_if_selectable()
find_all_selectable()

```

---

<div class="post-metadata">

**Author:** ![RickyBlender](https://blenderartists.org/user_avatar/blenderartists.org/rickyblender/32/7134_2.png) [@RickyBlender](https://blenderartists.org/u/RickyBlender)\
**Post date:** [August 12, 2022, 1:37pm UTC](https://blenderartists.org/t/blender-3-2-how-to-find-unselectable-ob/1395763/27 "2022-08-12T13:37:57Z")

</div>

your script now seems to work fine

so if you have a few 100’s of objects with several unselectable ob  
then you got a problem

there should be some builtin tool in BL to deal with this situation

otherwise you end up loosing time

2 ) collection instances  
there has to be some video or tut on how to work and when to use instances !  
will try to search web again and hope to find some good intro

thanks  
happy bl

---

<div class="post-metadata">

**Author:** ![heimmie](https://blenderartists.org/user_avatar/blenderartists.org/heimmie/32/1355563_2.png) [@heimmie](https://blenderartists.org/u/heimmie)\
**Post date:** [March 20, 2025, 12:06am UTC](https://blenderartists.org/t/blender-3-2-how-to-find-unselectable-ob/1395763/28 "2025-03-20T00:06:43Z")

</div>

Came across this post while searching for solutions for this problem too. I didn’t use the script (not sure how to use it), but I came up with another solution.

A (select all objects) - H (hide)  
Go to outliner - filter - objects - visible objects  
Now only the unselectable objects are visible.

And then just make the unselectable objects selectable again! Hope this helps \<3

---

<div class="post-metadata">

**Author:** ![cajhne](https://blenderartists.org/user_avatar/blenderartists.org/cajhne/32/15306_2.png) [@cajhne](https://blenderartists.org/u/cajhne)\
**Post date:** [April 14, 2026, 11:26am UTC](https://blenderartists.org/t/blender-3-2-how-to-find-unselectable-ob/1395763/29 "2026-04-14T11:26:23Z")

</div>

To see only your unselectable objects in the outliner:

1. In the Outliner, click on the Filters menu
2. Toggle on the Selctable restriction Indicator, if it isn’t already  
toggled on.
3. Go down to the Filters section, and under Objects, change the dropdown Menu selection from “All” to “Selectable”.  
4.Then invert that by clicking the invert filter toggle beside the dropdown.

Here’s what that looks like:

 ![image](https://blenderartists.org/uploads/default/original/4X/b/1/2/b12578fadf577424d04abaaead45c889d118d018.jpeg)

Don’t forget to toggle it back to all, and toggle off the invert after you’re done! 😉

[Previous page](https://blenderartists.org/t/blender-3-2-how-to-find-unselectable-ob/1395763.md?page=1)
