OperatorOptions(bpy_struct)

base class — bpy_struct

class bpy.types.OperatorOptions(bpy_struct)

Runtime options

is_grab_cursor

True when the cursor is grabbed (default False, readonly)

Type:

bool

is_invoke

True when invoked (even if only the execute callbacks available) (default False, readonly)

Type:

bool

is_repeat

True when run from the ‘Adjust Last Operation’ panel (default False, readonly)

Type:

bool

is_repeat_last

True when run from the operator ‘Repeat Last’ (default False, readonly)

Type:

bool

use_cursor_region

Enable to use the region under the cursor for modal execution (default False)

Type:

bool

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