Ui Operators

bpy.ops.ui.copy_data_path_button()

Copy the RNA data path for this property to the clipboard

bpy.ops.ui.copy_to_selected_button(all=True)

Copy property from this object to selected objects or bones

Parameters:all (boolean, (optional)) – All, Reset to default values all elements of the array
bpy.ops.ui.drop_color(color=(0.0, 0.0, 0.0), gamma=False)

Drop colors to buttons

Parameters:
  • color (float array of 3 items in [0, inf], (optional)) – Color, Source color
  • gamma (boolean, (optional)) – Gamma Corrected, The source color is gamma corrected
bpy.ops.ui.editsource()

Edit UI source code of the active button

bpy.ops.ui.edittranslation_init()

Edit i18n in current language for the active button

bpy.ops.ui.eyedropper_color()

Sample a data-block from the 3D view

bpy.ops.ui.eyedropper_depth()

Sample depth from the 3D view

bpy.ops.ui.eyedropper_id()

Sample a datablock from the Blender Window to store in a property

bpy.ops.ui.reloadtranslation()

Force a full reload of UI translation

bpy.ops.ui.reports_to_textblock()

Write the reports

bpy.ops.ui.reset_default_button(all=True)

Reset this property’s value to its default value

Parameters:all (boolean, (optional)) – All, Reset to default values all elements of the array
bpy.ops.ui.reset_default_theme()

Reset to the default theme colors

bpy.ops.ui.unset_property_button()

Clear the property and use default or generated value in operators