FileSelectEntry(bpy_struct)

base class — bpy_struct

class bpy.types.FileSelectEntry(bpy_struct)

A file viewable in the File Browser

asset_data

Asset data, valid if the file represents an asset

Type

AssetMetaData, (readonly)

id_type

The type of the data-block, if the file represents one (‘NONE’ otherwise)

Type

enum in Id Type Items, default ‘ACTION’, (readonly)

local_id

The local data-block this file represents; only valid if that is a data-block in this file

Type

ID, (readonly)

name
Type

string, default “”, (readonly, never None)

preview_icon_id

Unique integer identifying the preview of this file as an icon (zero means invalid)

Type

int in [-inf, inf], default 0, (readonly)

relative_path

Path relative to the directory currently displayed in the File Browser (includes the file name)

Type

string, default “”, (readonly, never None)

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

Inherited Functions

References