Hi, I am currently using 3D Slicer 5.8.0 and developing scripted modules. As part of my work, I would like to know if there is an option to disable the automatic snapping to surface constraints when a Markups node is activated. While working with Markups, I have noticed that the control points tend to snap to the nearest surface, which is affecting the intended placement of the points. I am looking for a way to prevent this behavior.
Additionally, as shown in the attached image, there is a polydata that follows the control points of the Markups. However, when moving the control points, they attempt to snap to the mesh surface, causing both the mesh and the control points to move closer in the Near Plane direction. This unintended snapping behavior is interfering with the expected positioning of the control points.
Could you please advise if there is a way to disable this feature, either through the UI or via scripting? Any guidance would be greatly appreciated.
Thank you for your time and support.