Macro(bpy_struct)

base class — bpy_struct

class bpy.types.Macro(bpy_struct)

Storage of a macro operator being executed, or registered after execution

bl_description
Type :string, default “”
bl_idname
Type :string, default “”
bl_label
Type :string, default “”
bl_options

Options for this operator type

Type :enum in [‘REGISTER’, ‘UNDO’, ‘BLOCKING’, ‘MACRO’, ‘GRAB_POINTER’], default ‘REGISTER’
name
Type :string, default “”, (readonly)
properties
Type :OperatorProperties, (readonly, never None)
report(type, message)

report

Parameters:
  • type (enum in [‘DEBUG’, ‘INFO’, ‘OPERATOR’, ‘WARNING’, ‘ERROR’, ‘ERROR_INVALID_INPUT’, ‘ERROR_INVALID_CONTEXT’, ‘ERROR_OUT_OF_MEMORY’]) – Type
  • message (string) – Report Message
classmethod poll(context=None)

Test if the operator can be called or not.

Return type:boolean
draw(context=None)

Draw function for the operator.

define(opname)

Inherited Properties

Inherited Functions

Previous topic

LockedTrackConstraint(Constraint)

Next topic

MagicTexture(Texture)