Enable markup plane visibility programmatically

So I created a markups plane using the code and now I was to make the interaction handles visible. I know you can just select the box in the markups menu but I am trying to automate as much of the process as possible so it can be used by others at my company who have never used slicer. I have spent some time searching but have not found anything on this subject.

This is the code I used to make the plane:
P = slicer.mrmlScene.AddNewNodeByClass(“vtkMRMLMarkupsPlaneNode”)

The interaction handles are a property of the display node, so you can use:

1 Like

Thanks so much worked perfectly!

1 Like