AnsweredAssumed Answered

Remove graphics which created by a widget when widget being closed

Question asked by tubakumbara on Feb 1, 2018
Latest reply on Feb 2, 2018 by tubakumbara

Hello. 

 

Added DirectLineMeasurement3D widget in to sceneview.

 

I have a toggle widget button. And button code below

 

mySceneview.ui.remove(measureWidget);

 

This is removing widget from sceneview but drawings stays on screen. I can't clear all graphics because of sceneview has another graphics.

 

How can i remove graphics which created by  a widget when widget being closed?

 

Thanks inadvance 

Outcomes