Remove Objects after boolean operations in TUI

Hi,
I wonder how to remove objects after a boolean operation if it can be done safely?

Thanks for any pointers
Best

what do you mean?
delete the original objects?

Yep, I just want to keep the result of the boolean operation

I’m guessing you are talking about GEOM?
In GEOM you can delete objects used in an operation, it will only affect the Python dump that will become invalid.
Otherwise, it is possible to “unpublish” an object.

@fred Could give me an example on how to unpublish? hideInStudy doesn’t really unpublish, right?

hideInStudy can be used to unpublish an object in the study.
It will keep the object in the study, but not show it in the object browser.

geompy.hideInStudy(Box_1)

If the object was used as a parameter of a boolean operation it can not deleted.