When I use function registerMarkup to add a new markup in the viewer,the nodes can't click

I use function registerMarkup to add a new markup in the viewer,then the nodes can’t click,but models also can rotate.It’s seems like the click event invalidation.Because the callback selectionArray can’t print anything.What are the possible reasons?
20230110_162513

Does you markup object have a “hit” function as described in the link below to ensure that it can be selected? Maybe that function consumes the click events in your case.
It might be good to provide us with sample code.

https://developer.techsoft3d.com/documentation/communicator/latest/build/prog_guide/viewing/markup/advanced-markup.html

1 Like