|
Blender V5.0
|
Public Attributes | |
| PyObject * | visit_path_fn |
| bool | seen_error |
Definition at line 509 of file bpy_rna_id_collection.cc.
| bool 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 525 of file bpy_rna_id_collection.cc.
Referenced by bpy_file_path_foreach().
| PyObject* IDFilePathForeachData::visit_path_fn |
Python callback function for visiting each path.
def visit_path_fn(owner_id: bpy.types.ID, path: str) -> str | None
If the function returns a string, the path is replaced with the return value.
Definition at line 518 of file bpy_rna_id_collection.cc.
Referenced by bpy_file_path_foreach().