I'm using a script to show the User Preferences dialog:


But it shows the preferences "input" tab, and I want it to show the "Ad-ons" tab. I tried using this:


It didn't work. How can I do that?


You'd want to use

bpy.context.user_preferences.active_section = 'ADDONS'
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.