The dynamicView.removeModel() function removes a model from a Dynamic or Streaming 3D Viewer scene and Tree Grid View.
dynamicView.removeModel()