There has a function in blender api:
bpy.ops.ed.flush_edits()
Here is the description of the document: https://docs.blender.org/api/current/bpy.ops.ed.html
Flush edit data from active editing modes
So, what does it mean?
There has a function in blender api:
bpy.ops.ed.flush_edits()
Here is the description of the document: https://docs.blender.org/api/current/bpy.ops.ed.html
Flush edit data from active editing modes
So, what does it mean?
It seems, from looking at the C source code that Gorgious discovered and some bug reports related to the source code such as T84920 that this family of functions isn't really meant to be used from Python. Certainly most of the functions don't have actual Python APIs.
Very roughly, edits are multiple step operations internally and the editors maintain state that they use during the multiple steps. The flush operation transfers the internal state to the actual state of the edited object.
Without actually asking the developers on Chat, I don't think we'll get a better understanding than this.
bpy.ops.ed
anywhere in the Python code in the github mirror. $\endgroup$