最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Modifying the hierarchy depth of model browser elements in the Autodesk Platform Services (formerly Forge) Viewer - Stack Overfl

programmeradmin4浏览0评论

Capture image
When I click on an element in the model finder, all elements are connected. I want to display only 'Basic wall:Zid 20/15:199028(1)' and hide the 'body part' under the header. If I modify it in js, it seems that the file will be large and cause a large load on the web. Is there any way to modify the model data or modify the modelstructure using the official API?

  1. Since the APIs related to modelStructure and modelStructurePanel bring the entire model, the hierarchy depth could not be modified.
  2. I wanted to bring the model tree structure and override it, but it didn't work.
  3. I'm looking for a way other than customizing user functions using ExtensionManager.
  4. The method of handling dom objects with JS seems to cause a heavy load on the screen if the file is large.

Capture image
When I click on an element in the model finder, all elements are connected. I want to display only 'Basic wall:Zid 20/15:199028(1)' and hide the 'body part' under the header. If I modify it in js, it seems that the file will be large and cause a large load on the web. Is there any way to modify the model data or modify the modelstructure using the official API?

  1. Since the APIs related to modelStructure and modelStructurePanel bring the entire model, the hierarchy depth could not be modified.
  2. I wanted to bring the model tree structure and override it, but it didn't work.
  3. I'm looking for a way other than customizing user functions using ExtensionManager.
  4. The method of handling dom objects with JS seems to cause a heavy load on the screen if the file is large.
Share asked Mar 11 at 8:01 astromelonastromelon 11 silver badge2 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

f I modify it in js, it seems that the file will be large and cause a large load on the web. Is there any way to modify the model data or modify the modelstructure using the official API?

I'm not sure what exactly you mean by this but in general, while the model browser provides some basic customization, if you want something more involved, it's typically better to build your custom UI component.

For example, this blog post shows how you could visualize your own tree in a custom viewer panel. You could use this to show the model hierarchy only to the level you want.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论