在Forge Viewer中更改模型浏览器的内容 [英] Change content of Model Browser in Forge Viewer

查看:276
本文介绍了在Forge Viewer中更改模型浏览器的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种简单的方法可以在Forge Viewer中更改模型浏览器的内容?我想重命名som节点,添加和删除节点.

解决方案

不幸的是,Model Browser从对象树(model.getInstanceTree())中获取数据,该对象树是不可变的,只能通过重新创建自己的数据结构来扩展./p>

以下是两个不错的起点:

Is there an easy way to change the content of Model Browser in the Forge Viewer? I would like to rename som nodes, add and remove node.

解决方案

Unfortunately Model Browser sources its data from the object tree (model.getInstanceTree()) which is immutable and can only be extended by re-creating your own data structure.

Here’s a couple of good starting points:

这篇关于在Forge Viewer中更改模型浏览器的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆