2.8 Hidden unselectable unrender object

how do you write a code snippet
to find which objects are not

selectable
renderable
hidden

and in which collection they are
and may be have an option to inverse the state

thanks
happy bl

Hi,
You have all in Blender API.
https://docs.blender.org/api/blender2.8/bpy.types.Object.html?highlight=hide_select#bpy.types.Object.hide_select

how do you write a code snippet
to find which objects are not

  • selectable
    obj.select_get() # return True if object is selected

  • renderable
    obj.hide_render()

  • hidden
    obj.hide_select

  • and in which collection they are
    and may be have an option to inverse the state
    obj.users_collection

1 Like