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_collectionofObject, (readonly)
-
children¶ Collections that are immediate children of this collection
- Type
CollectionChildrenbpy_prop_collectionofCollection, (readonly)
-
color_tag¶ Color tag for a collection
NONENone, Assign no color tag to the collection.COLOR_01Color 01.COLOR_02Color 02.COLOR_03Color 03.COLOR_04Color 04.COLOR_05Color 05.COLOR_06Color 06.COLOR_07Color 07.COLOR_08Color 08.
- Type
enum in [‘NONE’, ‘COLOR_01’, ‘COLOR_02’, ‘COLOR_03’, ‘COLOR_04’, ‘COLOR_05’, ‘COLOR_06’, ‘COLOR_07’, ‘COLOR_08’], default ‘NONE’
-
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)
-
lineart_usage¶ How to use this collection in line art
INCLUDEInclude, Generate feature lines for this collection.OCCLUSION_ONLYOcclusion Only, Only use the collection to produce occlusion.EXCLUDEExclude, Don’t use this collection in line art.INTERSECTION_ONLYIntersection Only, Only generate intersection lines for this collection.NO_INTERSECTIONNo Intersection, Include this collection but do not generate intersection lines.
- Type
enum in [‘INCLUDE’, ‘OCCLUSION_ONLY’, ‘EXCLUDE’, ‘INTERSECTION_ONLY’, ‘NO_INTERSECTION’], default ‘INCLUDE’
-
objects¶ Objects that are directly in this collection
- Type
CollectionObjectsbpy_prop_collectionofObject, (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.Structsubclass
-
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