NodeTreeInterfaceItem(bpy_struct)

base class — bpy_struct

subclasses — NodeTreeInterfacePanel, NodeTreeInterfaceSocket

class bpy.types.NodeTreeInterfaceItem(bpy_struct)

Item in a node tree interface

index

Global index of the item among all items in the interface (in [-1, inf], default 0, readonly)

Type:

int

item_type

Type of interface item (default 'PANEL', readonly)

Type:

Literal[Node Tree Interface Item Type Items]

parent

Panel that contains the item (readonly)

Type:

NodeTreeInterfacePanel

position

Position of the item in its parent panel (in [-1, inf], default 0, readonly)

Type:

int

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions

References