Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
An easier way would be to write your own DocumentObserver class where you can track if a certain object gets destroyed. This is also possible to do it in python. Here is a test class how it should look like:
Note, all methods are optional and in your case you should implement slotDeletedObject() as you need it. There youe.g. can check for a Proxy property and if it's there check its type for CMesh. With doc.removeObject("internal_object_name") you can delete an object.
I probably did not explain good. So I created two boxes and made fillet on one and chamfer on another one. See what I got in Tree view. Fillet box is under fillet, and chamfer box is in the same level with chamfer.
Also, there are two (gui) functions for fillet and chamfer. The ones with sketcher have the sam problem.
Also, I like icon for fillet, shown in tree view. It shows how you got the object. Can same thing be made with chamfer.