Hi Laurenz,
thanks for asking to the Community. I confirm you that the editing workflow is not something yet available with HOOPS Webplatform. You are doing the right thing with generating a new model and using switchToModel functionality.
In addition, it should be possible to limit the problems you encounter by interrogating the scene status to get the camera, and to apply the camera back once you load the new model.
Another way to do this is also to use the method:
- load an empty scene at the beginning
- use https://docs.techsoft3d.com/communicator/latest/build/api_ref/typedoc/classes/communicator.model.html#loadsubtreefrommodel to load your model
- when replacing, delete the previous model (https://docs.techsoft3d.com/communicator/latest/build/api_ref/typedoc/classes/communicator.model.html#deletenode) and go back to step 2.
In order to detect the change, this is something that needs to be performed following your business logic. If you want the user to get notified as soon as possible, I would recommend you to open a websocket so your server can send information to the client as there is no function to do that within our infrastructure currently.
As for the links to our documentation, I am not aware of this limitation and am trying to add some links in my answer there to test, I will feed thick back to our team managing the forum.
Have a good day,