Collection(ID)

base classes — bpy_struct, ID

class bpy.types.Collection(ID)

Collection of Object data-blocks

all_objects

Objects that are in this collection and its child collections

Type

bpy_prop_collection of Object, (readonly)

children

Collections that are immediate children of this collection

Type

CollectionChildren bpy_prop_collection of Collection, (readonly)

hide_render

Globally disable in renders

Type

boolean, default False

hide_select

Disable selection in viewport

Type

boolean, default False

hide_viewport

Globally disable in viewports

Type

boolean, default False

instance_offset

Offset from the origin to use when instancing

Type

float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

objects

Objects that are directly in this collection

Type

CollectionObjects bpy_prop_collection of Object, (readonly)

users_dupli_group

The collection instance objects this collection is used in (readonly)

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

Inherited Functions

References