Linked Questions

0
votes
1answer
98 views

Python - How to Add a Text Field to the UI? [duplicate]

I'm trying to create a text field in the UI that will allow users to enter a directory path, then press a button to export an fbx file to that path. The Button creation into the UI works great. ...
24
votes
2answers
16k views

How to create a custom UI?

I was watching this video on making a custom UI tab using Python, and in the line from bpy.types import Menu, Panel, UIList, I see the names of objects that look ...
6
votes
2answers
3k views

Use filemanager to select directory instead of file?

I want my export operator to open the normal file selector but instead of asking for a specific file I want it to ask for a directory. The reason for this is that both my model and the textures should ...
-3
votes
2answers
3k views

UI, how to add a file browser to a panel

The link below by poor is very relevant. This is also related: How can i open a file select dialog via python to add an image sequence into VSE? The best source I have found in 4 days of search is: ...
2
votes
1answer
2k views

How to add images from selected folder via Python

In my Panel class I use: col.prop(context.scene, 'path') I also have: ...
3
votes
1answer
1k 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 ...
2
votes
2answers
403 views

Difference between variable and property scope in a script

My __init__.py script creates a panel that lets a user select the figure (typically a humanoid figure imported from Poser) she wants to give shaders to, defines the ...
0
votes
0answers
149 views

How do I update (resize) a CollectionProperty when an item is to be expanded?

I'm defining a directory tree using a template_list... (Looks similar to a Windows7 directory tree) Everything works properly, showing the drives and initial expanded folders as expected... But when ...
1
vote
0answers
48 views

How do I add a button to the 'fileselect' panel? [duplicate]

I have python code that displays the 'fileselect' panel to retrieve and image file. I would like to add a button and event code to this panel. Currently I initiate the 'fileselect' panel with the ...
1
vote
0answers
44 views

texture baker addon how tho choose path and size from UI

I am curently creating a simple texture baker addon. I am not a coder, just picking thing from many sources and try to make it work together. My AO baker works fine but I am not able to choose image ...