ObjectBase(bpy_struct)

base class — bpy_struct

class bpy.types.ObjectBase(bpy_struct)

An object instance in a scene

layers

Layers the object base is on

Type:boolean array of 20 items, default (False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False)
layers_local_view

3D local view layers the object base is on

Type:boolean array of 8 items, default (False, False, False, False, False, False, False, False), (readonly)
object

Object this base links to

Type:Object, (readonly)
select

Object base selection state

Type:boolean, default False
layers_from_view(view)

Sets the object layers from a 3D View (use when adding an object in local view)

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