How to lock a Markups ControlPoint in 3D only, but allow drag in 2D?

sunshine
Thu, 08 Sep 2022 15:02:29 +0000
Support

Hi everyone,

I am trying to write my first extension module for annotation using module Markups.

Here is my case:
I would like to add an annotation to a slicer showing in the Red slice (red window), and allow dragging the annotation (a ControlPoint) only in the 2D Red slice because dragging in 3D may go beyond the 2D red slice.

How can I lock the annotation (ControlPoint) only in 3D, but still allow dragging in 2D red slice?

Thank you so much in advance!

4 posts - 2 participants