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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
55 views

How do I get Blender to refer to the last folder opened as the default for the File-Open dialog?

I am trying to figure out how to get Blender to default to the last used file location when opening a file. As part of my pipeline for editing FBX files, I add diffuse, normal, metallic, specular, ...
Jack Harris's user avatar
0 votes
0 answers
25 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 ...
sypher's user avatar
  • 1
0 votes
2 answers
67 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, ...
MikeH's user avatar
  • 25
0 votes
1 answer
142 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 ...
Jeet GT's user avatar
  • 65
2 votes
1 answer
102 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 ...
Grimm's user avatar
  • 1,866
0 votes
0 answers
67 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 ...
Simon Simanjuntak's user avatar
0 votes
0 answers
25 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
2 votes
2 answers
51 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')
Karan's user avatar
  • 1,879
1 vote
0 answers
80 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.
Rick T's user avatar
  • 4,081
1 vote
1 answer
112 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: ...
tintwotin's user avatar
  • 2,266
0 votes
2 answers
129 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: ...
Lala_Ghost's user avatar
0 votes
0 answers
97 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. ...
Lala_Ghost's user avatar
0 votes
0 answers
24 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 ...
jan albrecht's user avatar
0 votes
0 answers
88 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 ...
lupin4's user avatar
  • 11
1 vote
0 answers
74 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 &...
V E L Δ's user avatar
0 votes
2 answers
575 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 ...
Yy_XRC's user avatar
  • 61
0 votes
1 answer
66 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?
oaaya's user avatar
  • 310
0 votes
1 answer
578 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 ...
MisterLBlends's user avatar
2 votes
1 answer
155 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 ...
rcorre's user avatar
  • 43
1 vote
1 answer
359 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 ...
se2000's user avatar
  • 73
-2 votes
1 answer
124 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 ...
se2000's user avatar
  • 73
1 vote
0 answers
64 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 ...
J. SungHoon's user avatar
  • 2,178
0 votes
0 answers
26 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 ...
se2000's user avatar
  • 73
1 vote
0 answers
139 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 ...
SJK's user avatar
  • 117
1 vote
1 answer
475 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.
Sooroojdeen's user avatar
8 votes
2 answers
2k 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 ...
Sooroojdeen's user avatar
1 vote
1 answer
403 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 ...
Ryan King Art's user avatar
0 votes
0 answers
70 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 ...
ODL_Modeling's user avatar
0 votes
0 answers
170 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 ...
Colin Basnett's user avatar
8 votes
5 answers
5k 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 ...
Norbi's user avatar
  • 83
1 vote
1 answer
1k 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
0 votes
0 answers
286 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 ...
SJK's user avatar
  • 117
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 ...
Nils Gensert's user avatar
3 votes
1 answer
2k 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 ...
Pierre Schiller's user avatar
2 votes
1 answer
190 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 ...
acquiredesign's user avatar
-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[
VickyE2's user avatar
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 ...
Janusz's user avatar
  • 1
1 vote
0 answers
400 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 ...
Daniel Rodrigues's user avatar
2 votes
1 answer
2k views

How to get filename and directory of selected files in filebrowser (Python)? [duplicate]

I'm trying to get the filename and directory of the currently selected files in the file browser. When I hover over the directory with the cursor I see "FileSelectParams.directory", and this ...
0rbitaldonkey's user avatar
1 vote
2 answers
1k views

How can I get a colored preview of all the blend files in the file browser?

Some of my blend file previews are shaded and colored. Most of them are just solid shaded: How can I get a colored, nice shaded preview for all of my files? fyi: i am using a mac...so a "windows ...
Chris's user avatar
  • 54.3k
1 vote
0 answers
100 views

Addon: how to update filename on EnumProperty change?

I'm working on a Blender (2.93) addon that outputs models to a few different formats. There is an EnumProperty in the filebrowser which lets the user choose which format to output to. The formats are ...
Marty's user avatar
  • 143
3 votes
3 answers
619 views

How can I make the file manager default to only list blend files?

I have to open up a lot of blend files in a row which are living in the same folder along with a lot of folders. When I open up the file browser I get a long list of folders first and have to scroll ...
Chris's user avatar
  • 54.3k
2 votes
0 answers
163 views

Globbing FILE_TYPE StringProperty

In a recent question a user asks about setting relative / absolute paths from a subtype='DIR_PATH' string property. Made me recall, (actually thought I had asked ...
batFINGER's user avatar
  • 83.5k
1 vote
0 answers
97 views

how to change temp files from cycles render to be handled on another disk drive?

I have a small C system with 14 gb left but three more disks with over 300 free space each, and yet when i render with cycles the space for the files to render is taken from the main C drive, how can ...
Anity Ex's user avatar
0 votes
1 answer
536 views

Help With Find Missing Files

I have a model that's portraying the purple material to show something is missing. So I thought "OK, whatever I'll just hit the 'Find Missing Files' Button," but for some reason even though ...
Micah Vera's user avatar
0 votes
0 answers
108 views

Material Sync from external .blend file UI [duplicate]

UPDATE: I reorganized the code in a way that now it runs and does what is meant to do when opening the file explorer. But still I fail on having the directory path on the UI. I have this script made ...
Juan Carlos's user avatar
0 votes
0 answers
23 views

Get checkbox state from sub panel [duplicate]

I am trying get the state of the checkbox in my animation subpanel and would like to set myBool to it's state. Here is my code: ...
Lala_Ghost's user avatar
2 votes
1 answer
888 views

How can I add a panel to the properties area of the file browser?

I would like to wrap my properties inside collapsible panels when using the ExportHelper or ImportHelper class but I can not ...
Lala_Ghost's user avatar
0 votes
1 answer
851 views

How do I display the absolute file (or directory) path in the UI [duplicate]

I've seen a number of answers on here and other places that if I have a file path in Blender, I can use bpy.path.abspath(file_path) and get the absolute path to a ...
Tango's user avatar
  • 511
2 votes
1 answer
404 views

Can Windows Blender load a project from a WSL2 filesystem file?

Windows can access WSL2 paths as \\wsl$\Ubuntu-20.04\home\me\scene.blend but I can't type that path into blender's File>Open dialog box (2.93 alpha nightly of ...
GaryO's user avatar
  • 545