Dynamic segmentation subtraction

I have a Volume A (a PET scan) with two segmentations: Seg1 and Seg2.

A user is making adjustments to Seg2 (adding and removing voxels).

I would like to dynamically display all voxels that are in Seg1 but not in Seg2 in a 3D volume (using a 3D Volume of the PET). This will help the user with their adjustments.

I understand that this can be achieved using Segment Editor > Logical Operators > Subtract, but this method is not dynamic.

Is there any way to achieve this dynamically?

I am also interested in an automated or Python-based solution

You can make it dynamic using Python scripting. See many examples in the script repository.