
We recommend using this feature for the following reasons: You can specify a version for viewer files (javascript, css and any other resource) by including the version number in the URL. Multiple versions of the Forge Viewer are hosted in Autodesk's CDN. See Viewer3D.getObjectTree() Viewer versions Use the InstanceTree API ( Model.getData().instanceTree) to access the other properties. The dbId is used as a node identifier throughout.

For an Inventor model, this would be the name of the assembly or part instance. Model object tree has a root node representing the model "assembly", with child nodes representing "sub-assemblies" and "parts".Įach node contains information about the element of the model it represents, including: Model Object TreeĪssets in the Forge Viewer have an object tree, a tree structure that represents the model hierarchy. Once authenticated, you are given an access token required to initialize your viewer using. Use of the Viewer requires authentication against Forge OAuth API. To request that a model file be translated for web viewing, use the Model Derivative API.

This reference describes the API for the Forge Viewer. (Use at your own risk.) Please refer to approved documentation at. This document is published as part of the continuous build process and is FOR REVIEW ONLY.
