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”)
P.SetOrigin([0,0,0])
P.SetNormal([1,0,0])
P.SetAxes([100,0,0],[0,100,0],[0,0,100])