Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
// Generated by tools/gen.sh from Blender's own API (tools/dump.py). Don't edit: regenerate.
import type * as H from "../../types";
import type * as M from "../../mathutils";
import type * as R from "../rna";
import type * as E from "../enums";
/** bpy.ops.file */
export interface Ops {
/**
* Automatically pack all external files into the .blend file
*
* bpy.ops.file.autopack_toggle
*/
autopack_toggle: H.Operator<{}>;
/**
* Add a bookmark for the selected/active directory
*
* bpy.ops.file.bookmark_add
*/
bookmark_add: H.Operator<{}>;
/**
* Delete all invalid bookmarks
*
* bpy.ops.file.bookmark_cleanup
*/
bookmark_cleanup: H.Operator<{}>;
/**
* Delete selected bookmark
*
* bpy.ops.file.bookmark_delete
*/
bookmark_delete: H.Operator<{
/** Index Default: -1. */
index?: H.In<number>;
}>;
/**
* Move the active bookmark up/down in the list
*
* bpy.ops.file.bookmark_move
*/
bookmark_move: H.Operator<{
/**
* Direction to move the active bookmark towards Default: 'TOP'.
* - `TOP`: Top (Top of the list)
* - `UP`: Up
* - `DOWN`: Down
* - `BOTTOM`: Bottom (Bottom of the list)
*/
direction?: H.In<"TOP" | "UP" | "DOWN" | "BOTTOM">;
}>;
/**
* Cancel file operation
*
* bpy.ops.file.cancel
*/
cancel: H.Operator<{}>;
/**
* Move selected files to the trash or recycle bin
*
* bpy.ops.file.delete
*/
delete: H.Operator<{}>;
/**
* Create a new directory
*
* bpy.ops.file.directory_new
*/
directory_new: H.Operator<{
/** Name of new directory Default: "". */
directory?: H.In<string>;
/** Open new directory Default: False. */
open?: H.In<boolean>;
/** Prompt for confirmation Default: True. */
confirm?: H.In<boolean>;
}>;
/**
* Start editing directory field
*
* bpy.ops.file.edit_directory_path
*/
edit_directory_path: H.Operator<{}>;
/**
* Execute selected file
*
* bpy.ops.file.execute
*/
execute: H.Operator<{}>;
/**
* Perform external operation on a file or folder
*
* bpy.ops.file.external_operation
*/
external_operation: H.Operator<{
/** Operation to perform on the selected file or path Default: 'OPEN'. */
operation?: H.In<E.FileExternalOperationOperation>;
}>;
/**
* Increment number in filename
*
* bpy.ops.file.filenum
*/
filenum: H.Operator<{
/** Increment Default: 1. */
increment?: H.In<number>;
}>;
/**
* (undocumented operator)
*
* bpy.ops.file.filepath_drop
*/
filepath_drop: H.Operator<{
/** Default: "Path". */
filepath?: H.In<string>;
}>;
/**
* Try to find missing external files
*
* bpy.ops.file.find_missing_files
*/
find_missing_files: H.Operator<{
/** Find all files in the search path (not just missing) Default: False. */
find_all?: H.In<boolean>;
/** Directory of the file Default: "". */
directory?: H.In<string>;
/** Collapse the region displaying the operator settings Default: True. */
hide_props_region?: H.In<boolean>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: False. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 9. */
filemode?: H.In<number>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
}>;
/**
* Toggle hide hidden dot files
*
* bpy.ops.file.hidedot
*/
hidedot: H.Operator<{}>;
/**
* Highlight selected file(s)
*
* bpy.ops.file.highlight
*/
highlight: H.Operator<{}>;
/**
* Make all paths to external files absolute
*
* bpy.ops.file.make_paths_absolute
*/
make_paths_absolute: H.Operator<{}>;
/**
* Make all paths to external files relative to current .blend
*
* bpy.ops.file.make_paths_relative
*/
make_paths_relative: H.Operator<{}>;
/**
* Perform the current execute action for the file under the cursor (e.g. open the file)
*
* bpy.ops.file.mouse_execute
*/
mouse_execute: H.Operator<{}>;
/**
* Move to next folder
*
* bpy.ops.file.next
*/
next: H.Operator<{}>;
/**
* Pack all used external files into this .blend
*
* bpy.ops.file.pack_all
*/
pack_all: H.Operator<{}>;
/**
* Store all data-blocks linked from other .blend files in the current .blend file. Library references are preserved so the linked data-blocks can be unpacked again
*
* bpy.ops.file.pack_libraries
*/
pack_libraries: H.Operator<{}>;
/**
* Move to parent directory
*
* bpy.ops.file.parent
*/
parent: H.Operator<{}>;
/**
* Move to previous folder
*
* bpy.ops.file.previous
*/
previous: H.Operator<{}>;
/**
* Refresh the file list
*
* bpy.ops.file.refresh
*/
refresh: H.Operator<{}>;
/**
* Rename file or file directory
*
* bpy.ops.file.rename
*/
rename: H.Operator<{}>;
/**
* Report all missing external files
*
* bpy.ops.file.report_missing_files
*/
report_missing_files: H.Operator<{}>;
/**
* Reset recent files
*
* bpy.ops.file.reset_recent
*/
reset_recent: H.Operator<{}>;
/**
* Handle mouse clicks to select and activate items
*
* bpy.ops.file.select
*/
select: H.Operator<{
/** Wait to Deselect Others Default: False. */
wait_to_deselect_others?: H.In<boolean>;
/** Instead of selecting on mouse press, wait to see if there's drag event. Otherwise select on mouse release Default: False. */
use_select_on_click?: H.In<boolean>;
/** Mouse X Default: 0. */
mouse_x?: H.In<number>;
/** Mouse Y Default: 0. */
mouse_y?: H.In<number>;
/** Extend selection instead of deselecting everything first Default: False. */
extend?: H.In<boolean>;
/** Select everything beginning with the last selection Default: False. */
fill?: H.In<boolean>;
/** Open a directory when selecting it Default: True. */
open?: H.In<boolean>;
/** Deselect all when nothing under the cursor Default: False. */
deselect_all?: H.In<boolean>;
/** Do not change selection if the item under the cursor is already selected, only activate it Default: False. */
only_activate_if_selected?: H.In<boolean>;
/** Even on successful execution, pass the event on so other operators can execute on it as well Default: False. */
pass_through?: H.In<boolean>;
}>;
/**
* Select or deselect all files
*
* bpy.ops.file.select_all
*/
select_all: H.Operator<{
/**
* Selection action to execute Default: 'TOGGLE'.
* - `TOGGLE`: Toggle (Toggle selection for all elements)
* - `SELECT`: Select (Select all elements)
* - `DESELECT`: Deselect (Deselect all elements)
* - `INVERT`: Invert (Invert selection of all elements)
*/
action?: H.In<"TOGGLE" | "SELECT" | "DESELECT" | "INVERT">;
}>;
/**
* Select a bookmarked directory
*
* bpy.ops.file.select_bookmark
*/
select_bookmark: H.Operator<{
/** Directory Default: "". */
dir?: H.In<string>;
}>;
/**
* Activate/select the file(s) contained in the border
*
* bpy.ops.file.select_box
*/
select_box: H.Operator<{
/** X Min Default: 0. */
xmin?: H.In<number>;
/** X Max Default: 0. */
xmax?: H.In<number>;
/** Y Min Default: 0. */
ymin?: H.In<number>;
/** Y Max Default: 0. */
ymax?: H.In<number>;
/** Wait for Input Default: True. */
wait_for_input?: H.In<boolean>;
/**
* Mode Default: 'SET'.
* - `SET`: Set (Set a new selection)
* - `ADD`: Extend (Extend existing selection)
* - `SUB`: Subtract (Subtract existing selection)
*/
mode?: H.In<"SET" | "ADD" | "SUB">;
}>;
/**
* Select/Deselect files by walking through them
*
* bpy.ops.file.select_walk
*/
select_walk: H.Operator<{
/**
* Select/Deselect element in this direction Default: 'UP'.
* - `UP`: Previous
* - `DOWN`: Next
* - `LEFT`: Left
* - `RIGHT`: Right
*/
direction?: H.In<"UP" | "DOWN" | "LEFT" | "RIGHT">;
/** Extend selection instead of deselecting everything first Default: False. */
extend?: H.In<boolean>;
/** Select everything beginning with the last selection Default: False. */
fill?: H.In<boolean>;
}>;
/**
* Smooth scroll to make editable file visible
*
* bpy.ops.file.smoothscroll
*/
smoothscroll: H.Operator<{}>;
/**
* Change sorting to use column under cursor
*
* bpy.ops.file.sort_column_ui_context
*/
sort_column_ui_context: H.Operator<{}>;
/**
* Start entering filter text
*
* bpy.ops.file.start_filter
*/
start_filter: H.Operator<{}>;
/**
* Unpack all files packed into this .blend to external ones
*
* bpy.ops.file.unpack_all
*/
unpack_all: H.Operator<{
/**
* How to unpack Default: 'USE_LOCAL'.
* - `USE_LOCAL`: Use files in current directory (create when necessary)
* - `WRITE_LOCAL`: Write files to current directory (overwrite existing files)
* - `USE_ORIGINAL`: Use files in original location (create when necessary)
* - `WRITE_ORIGINAL`: Write files to original location (overwrite existing files)
* - `KEEP`: Disable auto-pack, keep all packed files
* - `REMOVE`: Remove Pack
*/
method?: H.In<"USE_LOCAL" | "WRITE_LOCAL" | "USE_ORIGINAL" | "WRITE_ORIGINAL" | "KEEP" | "REMOVE">;
}>;
/**
* Unpack this file to an external file
*
* bpy.ops.file.unpack_item
*/
unpack_item: H.Operator<{
/**
* How to unpack Default: 'USE_LOCAL'.
* - `USE_LOCAL`: Use file from current directory (create when necessary)
* - `WRITE_LOCAL`: Write file to current directory (overwrite existing file)
* - `USE_ORIGINAL`: Use file in original location (create when necessary)
* - `WRITE_ORIGINAL`: Write file to original location (overwrite existing file)
*/
method?: H.In<"USE_LOCAL" | "WRITE_LOCAL" | "USE_ORIGINAL" | "WRITE_ORIGINAL">;
/** Name of ID block to unpack Default: "". */
id_name?: H.In<string>;
/** Identifier type of ID block Default: 19785. */
id_type?: H.In<number>;
}>;
/**
* Restore all packed linked data-blocks to their original locations
*
* bpy.ops.file.unpack_libraries
*/
unpack_libraries: H.Operator<{}>;
/**
* Scroll the selected files into view
*
* bpy.ops.file.view_selected
*/
view_selected: H.Operator<{}>;
}