I want to change the pie menu radius using python, after some search I can access to that propertie using:


but I can't change it

some help please! :D


1 Answer 1


And similar can be done for all other items on the User-Preferences -> Interface tab. (Warning doesn't update the visible value on the UI until you move your mouse, or trigger ui redraw some other way)

import bpy
prefs = bpy.context.user_preferences
prefs.view.pie_menu_radius = 80
  • 2
    $\begingroup$ Note that this may not work in an addon unless you use some hack to delay the execution until a valid context is available to change the user preferences! $\endgroup$
    – CodeManX
    Jun 10, 2015 at 14:17
  • $\begingroup$ Updated in 2.8x find under context.preferences.view.pie_menu_radius $\endgroup$
    – batFINGER
    Dec 21, 2019 at 19:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .