Updating script repository with a command to enable crosshair visibility

koeglfryderyk
Wed, 15 Dec 2021 10:13:56 +0000
Support

I’m not sure if this is the correct place for such a request, however:

There are a lot of examples with the Crosshair in the script repository, however, none of them actually says that you have to make the crosshair visible (and how to do that). It took me quite some time to figure out why the crosshair was not showing.

Maybe it’s obvious for some, but I think adding a line of code that explains that would be helpful for beginners.

In the end, that’s what I used (but maybe there’s a better way):

crosshairNode = slicer.util.getNode("Crosshair")
crosshairNode.SetCrosshairMode(1)

5 posts - 3 participants