Cannot see slice view

I want to set three points to form a slice, then cut models with it. Therefore, I referred to this script. All the operations I performed are as follows: I dropped 3 markups control points in the scene and copy-paste the code below into the Python console. But can not see slice view.
Is there something I’m doing incorrectly?

Hi! I noticed that you recently added and deleted some pages, and now seem to be confused about layouts. I suggest you slow down a bit and read about how to use the main functions of Slicer:
https://slicer.readthedocs.io/en/latest/user_guide/getting_started.html#using-slicer

You have double-clicked on the 3D view to maximize it. You can double-click the 3D view again to restore.

Sorry Sir, I’ve read the documentation multiple times. I just expressed myself incorrectly. What I meant was that when I run this piece of code, I don’t see any changes in the Red Slicer View. I’m not sure where I might have gone wrong.


Thanks for the clarification! What you expect to see in the slice views are the three points? If so, the reason you don’t see them is that the points are not exactly on the slices that you see. They are infinitely small objects, and only visible on the slice they coincide with spatially. If you click a point in 3D, the slice views will jump to the point. Also you have the option to see the projection of the points, it is an advanced option in the Markups module.

Yes, it worked! Thank you very much for your patient explanation.