Volumes (active volume and lookup table)

Hi.

I have used slicer to do a segmentation of an image.
Now, I am using the module Volumes and I want to select that Segmentation as “Active volume” and display it in red in the “Look Up table”.

I have been trying to use the Volumes Logic but I can’t find a command to do these tasks in Python.

Thank you in advance

Captura de pantalla 2022-09-28 a las 11.18.46