I want to get the coordinates from a point in the viewer (newest version) after clicking, but it seems it has been changed from the previous version of the viewer.
SDV.addListener(SDV.EVENTTYPE.INTERACTION.SELECT_ON, (e) => {
addPoint(e);
});
.
var addPoint = function(event) {
console.log(“add point”);
pickPoint = event.selectPos;
.
I can’t get a selectpos from the event, while in previous versions that was the way.
Any help?