This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
blender:python:addonnotes:start [2022/02/16 00:52] dwheele [Blender member variables] |
blender:python:addonnotes:start [2022/02/19 18:19] (current) dwheele [Blender Python Addon Notes] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Blender Python Addon Notes ====== | ====== Blender Python Addon Notes ====== | ||
| * [[..start|Full Blender Python notes]] | * [[..start|Full Blender Python notes]] | ||
| + | * [[https:// | ||
| Doing research to make a panel to control Baking Texture assignments. | Doing research to make a panel to control Baking Texture assignments. | ||
| Line 124: | Line 125: | ||
| ^BL Variable^Example^Description^ | ^BL Variable^Example^Description^ | ||
| |bl_context|uv|The context in which the panel belongs to| | |bl_context|uv|The context in which the panel belongs to| | ||
| - | |bl_idname|VIEW3D_PT_test_1|Name of the object. If this is set, the panel gets a custom ID, otherwise it takes the name of the class used to define the panel. For example, if the class name is “OBJECT_PT_hello”, | + | |bl_idname|VIEW3D_PT_test_1|Name of the object. Unique identifier for buttons and menu items to reference.. If this is set, the panel gets a custom ID, otherwise it takes the name of the class used to define the panel. For example, if the class name is “OBJECT_PT_hello”, |
| - | |bl_label|Panel One|Name of the object, shows up in a menu. The panel label, shows up in the panel header at the right of the triangle used to collapse the panel| | + | |bl_label|Panel One|Display name in the interface. |
| |bl_space_type|VIEW_3D|The space the panel will be used in. enum in [‘EMPTY’, | |bl_space_type|VIEW_3D|The space the panel will be used in. enum in [‘EMPTY’, | ||
| |bl_region_type|UI|The region where the panel is going to be used in. enum in [‘WINDOW’, | |bl_region_type|UI|The region where the panel is going to be used in. enum in [‘WINDOW’, | ||
| |bl_category|Tool|The category (tab) in which the panel will be displayed, when applicable. Leave blank if panel doesn' | |bl_category|Tool|The category (tab) in which the panel will be displayed, when applicable. Leave blank if panel doesn' | ||
| - | |bl_options|DEFAULT_CLOSED|One of DEFAULT_CLOSED, | + | |bl_options|DEFAULT_CLOSED|One of DEFAULT_CLOSED, |
| |bl_region_type|WINDOW|enum in [‘WINDOW’, | |bl_region_type|WINDOW|enum in [‘WINDOW’, | ||