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
1 vote
1 answer
2k views

How to create and export a custom file using python?

I'm trying to make and export a file. I have a string which is basically the file content and I'd like to save this as a .dat file. So I need the user to click a button and the file explorer to open ...
Paulo Kim's user avatar
1 vote
1 answer
621 views

python open file browser to Group directory of blend file?

Is it possible in 2.79 to open the file browser to the internals of a specified blend? I have a template.blend, that will have several Groups in it. Currently, I have a button that opens the file ...
dval's user avatar
  • 1,140
2 votes
1 answer
2k views

Python UI: How to load an image from drive and select it?

I am trying to create below UI panel to open the file browser and load / select the image into this field. Here is what I got so far, this opens the image and I can then select it from the available ...
VSB's user avatar
  • 493
5 votes
1 answer
4k views

How to use the File Browser's (with ImportHelper) execute function?

I now have the file browser, and I've found out how to load the texture into the node but not from the file browser. I have to type the file path in manually, and I had to put it in a different class ...
mr-matt's user avatar
  • 1,200
4 votes
0 answers
43 views

Blender 2.76 - Stop adding underscores? [duplicate]

I upgraded my version of blender to 2.76, and to my horror, quickly discovered it replaces spaces in the file names with underscores. Is there a way I can turn this off? Even a script would do!
GiantCowFilms's user avatar
15 votes
1 answer
12k views

How to create a Folder/File Dialog?

So I need to allow the user of my script to choose a directory that contains images, and then run my script on each image. I already have my script made here. I looked at this question already, but ...
doomslug's user avatar
  • 1,819
3 votes
2 answers
458 views

Is there something like Layout.template_fileselector?

I'm writing an export script and I want the user to be able to export the currently selected object. The real script is finished but now I want to finish my UI. For this I want to display a ...
WorldSEnder's user avatar
  • 1,626