How update boolean result after source objects changed

I want to implment a plugin that update boolean result when source objects changed. For example, there are two boxes, and then use boolean difference to open hole in one box, then when move one box, the hole will be updated.
before boolean
after boolean

I find maybe HistoryRecord can do this, and then learn sample “SampleCsHistory”, but ReplayHistory method is never called after changing/moving/deleting curve.

Hi @RyanZhou,

See if this helps:


Before running the sample, make sure history recording is turned on.

– Dale

Thanks! It works.