Questions tagged [file-browser]
The File Browser is generally used to read and write files. You can also use it to manage the entire file system and it also allows the internal structure of a .blend file to be browsed.
173
questions
0
votes
0
answers
21
views
Change bl_label in fileBrowser based on amount of selected objects
I would like to have a fileBrowser that says "Import X files", the x being the amount of files selected.
But how do I do that?
This is my code so far, based on the FileImport template of ...
1
vote
0
answers
8
views
How to Respond to File Selections in a Blender Add-on Using the File Browser?
I'm developing a Blender add-on that uses the built-in file browser. I want to update the property panel with information related to the selected files. For example, when a file is selected, I want to ...
1
vote
0
answers
15
views
Adding browser field and setting variable
Good day, all!
I'm trying to create very simple addon that will makes my everyday life a bit more convenient. It applies all transformation of selected object, deleting all material slots and export ...
0
votes
0
answers
43
views
File view doesn't shows system properly. (Onedrive, icloud missing)
When I try to save or open something in Blender, the file view doesn't shows locations on my mac properly. I see just Mac HD.
I checked Privacy and Sec/Files and Folders already. I am not able to ...
0
votes
1
answer
105
views
Blender Thumbnails not showing in windows file explorer?
I am using blender 3.6 at the moment right now and I followed these steps in this video
https://www.youtube.com/watch?v=zYdNOggfSwg
But I am not seeing any blender file thumbnails, just the icon.
I do ...
1
vote
2
answers
47
views
Displaying Custom Icons in Blender's File Browser
I'm looking for a way to either use the system file explorer for importing and exporting in Blender or display custom icons in Blender's file browser.
I've tried using Python scripts to call system ...
0
votes
0
answers
29
views
How to force Blender to utilize the XDG File Picker portal (instead of its custom picker)?
The XDG File Picker portal is the Freedesktop-standard (hence the retrograde XDG moniker) cross-desktop-environment file picker implementation. I'm asking because I would be surprised if it were not ...
0
votes
1
answer
19
views
How to display hidden inodes in the file picker?
I've a hidden resources directory that I want to access via the file picker in order to utilize the textures inside it. However, per https://projects.blender.org/blender/blender/issues/121715#issue-...
2
votes
3
answers
56
views
How to dynamically determine which file is selected programmatically in the File Browser Editor?
My question is not about the File Browser modal window, but about the Editor.
I found this other question that shows how to get the selected files from the ...
1
vote
0
answers
82
views
How to get the last saved file name in Blender's file browser, using Blender's Python
If I open Blender's file browser (in my particular case, it would be the one invoked by "Save image" in the Blender render window, "Image" menu), the filename text field will ...
0
votes
0
answers
21
views
Save/customize the file browser interface
Everytime I open the file browser interface, the directory windows on the left are arranged as default. Even if I switch Recent on top of System and minimize System, the next time I open the interface,...
0
votes
1
answer
30
views
How to save images to a external folder at the same time
I usually have a lot of images due to texture baking and stuff and I need to save them to a folder just in case I lose them due to a crash but I hate doing it one at a time. Is there a way of saving ...
0
votes
0
answers
35
views
File browser - scrolling to the bottom or top of the list
Is there a keyboard shortcut that allows you to scroll the file list view to the bottom or top with one click instead of using the mouse wheel? I mean the way the "End" and "Home" ...
0
votes
0
answers
31
views
Cant find backups of .blend files from months ago
So a couple of months ago I modeled a realistic human model but ended up redoing it in the same file, but looking back I wish I had the version of the model from 3 months ago, but in my autosaves ...
0
votes
2
answers
161
views
Blender 3.6.0 File Browser
New to Blender. I'm using 3.6.0. I'm learning shortcuts. I tried Shift+F1. This brings up the File Browser. I can't figure out how to close the File Browser.
Searching online mentioned Cancel button, ...
0
votes
1
answer
320
views
A Simple File Folder Selection In Python Script Is Not Working - Blender Is Crashing
I am creating an addon for Blender. As part of the addon, I need the user to select a folder location along with some other input. I am creating a popup window to display to the user. The user enters ...
2
votes
1
answer
139
views
Sorting folders by name, but files by modification time
In Blenders file browser, I can sort all items by name or modification time. But what I am used to in other file managers like Krusader or Total Commander, is files ordered by modification time, so ...
0
votes
0
answers
174
views
Importing texture with script based on the name of the material
I want to automate this through script:
Open Shader Editor
Select BSDF Node
Ctrl+Shift+T
Open "textures" file
Select multiple image textures that consist of the material name + shader type ...
0
votes
0
answers
97
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:
...
2
votes
2
answers
78
views
How to execute a function after folder path is accepted?
I want to execute a function after a path is accepted from
path : StringProperty(subtype='DIR_PATH')
1
vote
0
answers
130
views
Generate thumbnails using the whole Blender screen
I know we can frame thumbnails for blend files using ctrl+alt+numpad 0. But how can we generate thumbnails that use the whole Blender screen? see image below with red arrow.
2
votes
1
answer
171
views
Using ExportHelper, how do you set ex. movie or image filters in python?
How do you set ex. use_filter_movie to true before opening the file browser(using ExportHelper)?
This doesn't work:
...
0
votes
2
answers
184
views
AttributeError: 'SpaceTextEditor' object has no attribute 'active_operator'
I get this error when I try to run my script from the text editor. It is a simple exporter with some extra functions.
This code snippet is the culprit for the error:
...
0
votes
0
answers
221
views
Join objects on export
Is there a good way to join all my selected objects, then export them and undo the joining?
Here is the Operator File Export from Blender.
...
0
votes
0
answers
29
views
Is there a way to adjust the interface to Blender's File Explorer?
case is: In Blender 3.4 when trying to import a file, the right scroll bar is animated to become wider when hovered, but still this scroll bar is very thin..., so scrolling there is like walking a ...
0
votes
0
answers
111
views
Iterate through a scene and return the location value of all objects and append to a created JSON file as a Set or Dict
I am trying to iterate through a scene and return the world space location data for each object in the scene. I want to zip this data into a dictionary with name, x, y, and Z being the keys and the ...
1
vote
0
answers
91
views
Add a filter of import (filter_glob) for specific filenames (foo.dat;me.dat and nothing else) in file browser [closed]
My question is complete enough, here is my current code but it has a breach, I want to patch it and make it only shows files that are exactly "main.dat", "assetlookup.dat" and &...
0
votes
2
answers
1k
views
blender file viewer takes very long to load files and folders
Blender file viewer takes longer to load than usual, Also the file viewer is not letting choose geometry options, For whatever reason. Have checked other websites and such, The problem for all of them ...
0
votes
1
answer
97
views
File Browser filter bar
I keep seeing this filter / view options bar in Blender's File Browser, in different videos and even on the manual page, but can't find a way to activate it. Or is it an addon?
0
votes
1
answer
789
views
Python script creating a sub-folder?
After a couple of suggestions which I couldn't make work, I've decided to simplify my goal and question.
My original script would generate the images properly but I was limited to having it just spit ...
2
votes
1
answer
234
views
How to make file dialog work like most other programs?
In most programs, any characters you type will filter the list of files, and pressing Enter will open the selected file/directory. For example, if I wanted to navigate to ...
1
vote
1
answer
439
views
Built-In Python Templates to Blender 3.2
Could anyone help me make sense of the import file template that Blender 3.2 gives for Python scripting? It seems a lot of this code is unnecessary for the function of opening a dialog box and ...
-3
votes
1
answer
144
views
Using data from dialog box to create image strip with Python script
I have been instructed to create a universal algorithm in Blender that prompts the user for file selection from a dialog box, takes those images (given they are the acceptable formats), add them to a ...
1
vote
0
answers
87
views
How to display all contents of a Date Modified column in Blender's File Browser [closed]
As you can see in the attached image, my blender's file browser doesn't show all the contents of the Date Modified column. There seems to be insufficient space to display all the content. I tried ...
0
votes
0
answers
30
views
Using Python to prompt a user for file selection from a dialog box and append to image strip in VSE [duplicate]
I am a decently experienced coder and am familiar with Python but am fairly new to Blender and its API. I am able to accomplish my goals manually using the Blender interface but I now must advance to ...
1
vote
0
answers
216
views
Can I set a bookmark in the File Browser from Python
In my Blender add-on in Python, I would like to be able to create a directory and then add it to the bookmark list in the File Browser. The code I wrote almost works. It creates a new directory and ...
1
vote
1
answer
570
views
What is the best way of adding Kitbash 3d asset packs to the asset browser?
All of the individual assets are parented to an empty. When I mark it as an asset it looks like this:
I would like to add all of the emptys as individual entries in the asset browser.
8
votes
2
answers
3k
views
Is there a way to merge multiple blend files?
I have around 100 separate .blend files that have one material each, is there a way to merge the materials from all of these blend files into one?
I am trying to do this to add the materials into the ...
1
vote
1
answer
619
views
Set Default Display Mode in Blender's File Browser?
Whenever I'm using Blender's file browser, I prefer to see the files in the thumbnail display mode, instead of the vertical list. So I have to change it every time by clicking on the display mode ...
0
votes
0
answers
86
views
Why is there no "save over" popup?
I know that, the file name turns red when the file name is the same as an existing filename in the "save as" window. But that is not enough. It has happened to me repeatedly that I overwrote ...
1
vote
0
answers
269
views
Add extension filter for StringProperty with FILE_PATH subtype
I have a file select property I am using, defined like so:
psa_filepath: StringProperty(default='', subtype='FILE_PATH', update=on_psa_filepath_updated)
The ...
8
votes
5
answers
7k
views
how to mark as one asset an object with separated parts?
Can someone help me please?
I want to add one of my model to the blender's new asset browser (blender 3.0.0), but the model is made from multiple parts.
For example i have a katana that has a blade ...
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 ...
0
votes
0
answers
351
views
Trying to change directory and read data file in Python
I would like to write a script that can change the directory, have the user browse for a file and then read the data from the file. I am trying to use os.chdir to change the directory, ImportHelper ...
0
votes
0
answers
18
views
Importing images as frames in bulk [duplicate]
I have a massive folder of 3300 images as part of a multi-hour timelapse of a flower opening and closing. Fairly basic stuff. I want to render them as a 4K-movie with each image being one frame at ...
3
votes
1
answer
3k
views
Asset Browser - How to make a "current file" (append) asset mesh become part of the "custom default" (windows library folder)?
Blender can store assets in a custom folder in your PC using the "Custom / default" path set into File system paths in user Preferences. This library can contain all your assets available ...
2
votes
1
answer
298
views
Single Click navigation in File Browser
I thought this would've been asked many times, but I can't find it. Forgive my novice, but I can't seem to find out how to make the File Browser navigate through folders using a single click. Ex: I ...
-1
votes
1
answer
21
views
i have rendered my animation but how do i turn it to a video [duplicate]
i have rendered my animation but i realized it was saved in different pictures.i tried changing it to a Xxiv file but that didn't work(movie file on blender 2.78). how can i change it to a video[
0
votes
0
answers
26
views
Import function for custom file type - add button to import submenu [duplicate]
I wrote a Python script that is parsing a file of type that Blender does not support.
Now I want to add a new button to File -> Import.
After clicking on the button the file selector window needs ...
1
vote
0
answers
541
views
Can't find a collection
I have a collection (called "SCATTER: Tree1") with an object inside, and I can't seem to find them in the view layer. I've tried to activate some restriction toggles that can sometimes hide ...