The new version of Viewer has modified the relationship in the buttons, how can roaming and cutting exist at the same time?

the click event of the button in part of the model is encapsulated into setActiveNavigationTool (toolbar-name), but it can only perform one operation, such as firstpersion or orbit, etc. How can roaming and cutting exist at the same time without modifying the viewer3D code? (if PS: introduces an extension and modifies the proto.activate in the newer version of FirstPersion.js of firstpersion, setActiveNavigationTool ("firstperson") is called)


cutting can be controlled by the setCutPlanes function of api. For more information, please see https://autodesk-forge.gitee.

.

you can write an extension by calling the above API. For more information, please see https://codeshelper.com/a/11.

.
Menu