Skip to main content

All Questions

3 votes
1 answer
171 views

Indent Guideline in Text Editor

Does the text editor have a feature that shows the indentation of the code? If it does, that would be nice to know.
Riki maru's user avatar
  • 161
0 votes
0 answers
89 views

How to embed file browser into the Blender addon interface

I'm trying to find a way to display the items in the target folder in the addon interface, i.e. like in the Blender file browser: I tried to make a text picture for an example: ...
pcon's user avatar
  • 1
0 votes
0 answers
113 views

How to add custom menu in blender in header?

I am trying to add custom menu and sub menu into this header strip consists of workspaces. How can i do it if i want to add a custom option after Scripting option?
Kartikey Sinha's user avatar
0 votes
0 answers
146 views

How do I add a UI Button to change view layer to a specific view layer

I'd like to be able to change the view layer of my scene via UI buttons. I currently have rendering of different layers working on different buttons, but I keep running into errors or having it simply ...
Narxisus's user avatar
0 votes
0 answers
48 views

Customize Info Editor

Is there a way to extend the range of commands what actually Info Editor logs? It seems there are actions with records on the log and actions without any logs. For example: If I create a box object it ...
Prag's user avatar
  • 1,048
1 vote
1 answer
110 views

Want to edit Snap Utilities Line script

I recently found the inbuilt blender add-on "Snap Utilities Line". I think it could potentially be very useful for me but I would like to make a few simple changes to it. 1) I would like it ...
Burpo's user avatar
  • 13
0 votes
2 answers
43 views

Is There A Customizable User-Defined Button Tray?

Does Blender have a built in tool, or is there an addon (or addon/ui designer) that would allow me to have a button tray with user-defined buttons? Basically I would like to have a tray with specific ...
Vita's user avatar
  • 1
5 votes
0 answers
765 views

How can I make the text of my panel in bold or italic? this is blender python related

Basically what I want is to make my panel header in bold and other text in my panel to be italic. For example: I want the text 'settings' with the preferences icon to be in bold. This is the code for ...
Yuneth Alwis's user avatar
4 votes
1 answer
202 views

How do I change viewport alignment of newly created objects with a python command?

I'm making a custom pie menu with a pie editor addon and wanted to have some buttons with options that will let me change the default alignment of newly created objects from "world", "...
Chingiz Jumagulov's user avatar
0 votes
1 answer
1k views

Create Custom UI list with String Objects and store them to addon itself [duplicate]

I want to recreate this kind of Menu UI, don't care about the color swatches in front of those. Just need a functionality to add using that plus sign, and I get a new string variable as these and can ...
NamanDeep's user avatar
  • 481
0 votes
0 answers
147 views

How can I implement the "Clean Up Unused Data Blocks" menu item in Python so I can add it to my addon's panel?

My question is basically the title. I have a custom sandbox add-on that I'm working on as I learn more about Python scripting. I use it to make my commonly used functions easier to use. This is the ...
fmotion1's user avatar
  • 1,433
1 vote
1 answer
867 views

How can I change the size of a modal operator popup dialog box?

I have a modal operator that invokes itself and is called from an AddonPreferences PT. I have been trying to scale_x without success. A row.scale_x works within the size of the entire modal, it is 3....
noyogi's user avatar
  • 25
1 vote
1 answer
165 views

Remove "Preferences:" label from AddonPreferences, no bl_label to " "?

I see no "bl_label" in "AddonPreferences" in the Blender API. One of the buttons in my AddonPreferences is "Preferences" and it would be nice to remove the default "...
noyogi's user avatar
  • 25
1 vote
1 answer
317 views

Format IntProperty/FloatProperty in GUI layout.prop?

Is there a way to format how the value of Float/Int properties are shown in python blender GUI? Right now it's always the same 'text' + 'value' (+ 'unit' if specified in the prop options). But what ...
Fox's user avatar
  • 1,942
1 vote
1 answer
291 views

How to change the Blender Console number of spaces used for indentation?

As I make myself comfortable scripting in Blender I use the Scripting workspace: the Text Editor and Python Console in particular. I've noticed that the Text Editor uses 4 spaces for indentation ...
George Profenza's user avatar

15 30 50 per page