Force save for undo in python

Hi,
I’m using a plugin GitHub - tywtyw2002/FilletEdge

But it’s not possible to undo the modification done by the plugin.
Is there a way to “save” the state before the plugin execution (In the python code), to be able to do an undo ?

Nope. It requires the plugin to use the correct API to leave undo information behind.

I’m planning to modify the pulgin to do just that.
But what is the API to use ? and is there some documentation about it ?

I’m pretty sure there is no API for it, pointers to it are welcome.

Heh, never said the correct api existed in python :whistles:

The modifications done by the plugin should be saved as an undo state when the plugin is closed.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.