Change ROI box color? (Python?)

Hey all,

Sometimes I use a white background in the 3D view as it matches color plates being prepared for publications. ROI cubes in the 3D view are drawn with white lines, making the box basically disappear. Is there some python I can use to change these lines to black? Not asking for any specific UI tweaks, changes, whatever - I realize this is likely a niche use case; just wondering if there is a back door to change the box line color.

Thanks!

-Hollister

You can do this already with a Markups ROI by setting the color and turning off fill in the display settings. Are you able to use those instead? With the older Annotation ROI you could hack something by getting the Renderer from the threeD widget and iterating through the actors, which would be fragile but could solve your problem. If you are writing a script it might be better to convert Annotation ROIs into Markups ROIs and set the color that way.

1 Like

Ah, okay! I will give this a shot.

Thanks Steve!