4
$\begingroup$

Based on the lists of inputs for bl_space_type and bl_region_types I'm assuming there is a set of special strings that you can input for bl_context correct? When I look at the doc I see

TODO: explain the possible combinations bl_context/bl_region_type/bl_space_type)

EDIT: The Todo has since been removed and the options are documented.

$\endgroup$
2
  • $\begingroup$ where in the UI or python type space is "bl_space_type" and "bl_region_types" ? $\endgroup$
    – Mutant Bob
    Jul 3 '17 at 17:51
  • $\begingroup$ ''bl_space_type'' and ''bl_region_types'' are keys that allow you to define the context of new UI panels in the BPY. $\endgroup$
    – Frederick
    Jul 30 '19 at 2:01
4
$\begingroup$

Op here I found the answer here at the bottom of this Blender3D Noob to Pro, right after I posted this question. I guess I should of done a tiny bit more research haha.

bl_context "mesh_edit", "curve_edit", "surface_edit", "text_edit", "armature_edit", "mball_edit", "lattice_edit", "posemode", "sculpt_mode", "weightpaint", "vertexpaint", "imagepaint", "particlemode", "objectmode"

$\endgroup$

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.