|
Blender V5.3
|
Public Attributes | |
| PyObject * | visit_path_fn |
| bool | seen_error |
Definition at line 517 of file bpy_rna_id_collection.cc.
| bool blender::IDFilePathForeachData::seen_error |
Set to true when there was an exception in the callback function. Once this is set, no Python API function should be called any more (apart from reference counting), so that the error state is maintained correctly.
Definition at line 533 of file bpy_rna_id_collection.cc.
Referenced by blender::bpy_file_path_foreach().
| PyObject* blender::IDFilePathForeachData::visit_path_fn |
Python callback function for visiting each path.
def visit_path_fn(owner_id: bpy.types.ID, path: str, meta: BlendDataPathMeta) -> str | None
If the function returns a string, the path is replaced with the return value.
Definition at line 526 of file bpy_rna_id_collection.cc.
Referenced by blender::bpy_file_path_foreach().