0
$\begingroup$

I'd like to remove some toolbar from the blender interface to simplify that for a potential customer, but I'm not able to do that using python. I know that it can be set up as default saving all the settings in a startup.blender file, but it doesn't work in every PC. For example, how to do the "Ctrl+space" over the "Layout" view with python?

My aim is illustrated in the following picture:

Aim

$\endgroup$
  • $\begingroup$ Are you looking for this: bpy.ops.screen.screen_full_area(use_hide_panels=True). Going to this link will help you in that case. $\endgroup$ – Wannes Nov 18 '19 at 15:26
  • $\begingroup$ Thank you! But this command is not working in my code, I don't understand why. Moreover, it could be better if there is a solution to completely remove some of the pannel and not only hide them. $\endgroup$ – Dade Nov 19 '19 at 8:05
  • $\begingroup$ Check out these links: removing panels and python api for panels $\endgroup$ – Wannes Nov 19 '19 at 13:14
  • $\begingroup$ Thank you very much! With bpy.ops.screen.screen_full_area(use_hide_panels=True all the pannels are hyde permanently and I'm not able to show some of them. Meanwhile with bpy.utils.unregister_class(bpy_types.bpy_types.*** it is possible to remove some buttons, but it's not allowed to cycle through "bpy_types.bpy_types.*" and writing a line for each button of each panel that I would like to remove is really a lot. Any idea? $\endgroup$ – Dade Nov 20 '19 at 9:41

Your Answer

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

Browse other questions tagged or ask your own question.