Skip to main content

All Questions

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
2 answers
531 views

Not seeing AddonPreferences after registering

I'm sure I am just doing something stupid here, but whenever I create an addon preferences class and register it, I am not seeing it appear in ...
user avatar
0 votes
1 answer
334 views

Retrieving the index number from my custom list in UI

Hello I am still new to Blender and learned Python 2 weeks ago. (I have previous experience in C) I found a good example for creating a Custom list for objects on here and it works splendidly. however ...
Pontus Brylander's user avatar
0 votes
1 answer
43 views

call the unregister function of any addon by its file name, addon name, or file path

I need to call the unregister function before disabling the addon. I can get this information about the addon: ...
gkhwvjxtc's user avatar
  • 103
1 vote
2 answers
559 views

How do I disable/enable addons from my list?

I want to have 2 buttons. One returns to the standard list of addons (includes from the list, disables others). The other one enables mine (and disables all others). update Problem is that some addons ...
gkhwvjxtc's user avatar
  • 103
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
0 votes
0 answers
148 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
868 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
0 answers
141 views

Changing 'Emulate 3 Button mouse option' when entering sculpt mode?

I would like to make addon that every time I enter sculpt mode it turns on "Emulate 3 Button Mouse" and when I leave it will turn off. I am no programmer, I tried to find some parts of code ...
Adam's user avatar
  • 11
0 votes
2 answers
258 views

Simple python code does not work

Not sure why this simple code does not work. I tried several things... but it only works if the values are statics . In this example I put one dinamic value (does not work) and another that works but ...
user70587's user avatar
3 votes
1 answer
228 views

Run code when addon is disabled through preferences but NOT when blender closes

I noticed that when it comes to addons, unregister() gets called both when disabling the addon AND when exiting blender. I have an operation I only want to perform if the addon is disabled from the ...
Armored Wolf's user avatar
4 votes
1 answer
102 views

how to create a new operator for the VSE?

I want to create an addon that will allow me to copy and paste video and image clips from one blender window(VSE) to another separately opened blender window(another VSE window). But I've been ...
blenderuser001's user avatar

15 30 50 per page