Does Forge have API to achieve the effect of clicking on components in the component tree of the model browser?

I want to use viewer.fitToView (dbid) to render specific components, but the effect is always not as good as the visual angle produced when the components in the model browser component tree are clicked. Is there any API method that can call a component click action similar to a component tree?

May.14,2022

you can use sourcemap to view and refer to viewer related source codes

Menu