zoqaphoenix.blogg.se

Autodesk file viewer
Autodesk file viewer




Use the InstanceTree API ( Model.getData().instanceTree) to access the other properties. The dbId is used as a node identifier throughout.

  • Children – An array of dbId for nodes that are children to this node.
  • Parent – The ID of the node of which this node is a child.
  • A single dbId can include one or more fragIds.
  • fragIds – fragIds are used by the Viewer's internal implementation to reference the meshes that are used to display the object.
  • There is a one-to-one correspondence between a node and a dbId.
  • dbId – This is a unique id for the element in the model.
  • 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.
  • switch between normal and full-screen viewingĪssets in Forge are converted to a format that can be streamed and viewed by the Forge Viewer.
  • customize some aspects of the Viewer behavior, such as setting the navigation mode or background color.
  • set up and initialize the Viewer in a web page.
  • The viewer API allows you to control and customize the Viewer. It can be embedded in a web page, or any browser-based application. The Forge Viewer is a javascript-based viewer for 2D drawings and 3D models served by Autodesk's Model Derivative API. This reference describes the API for the Forge Viewer. (Use at your own risk.) Please refer to approved documentation at.

    autodesk file viewer

    This document is published as part of the continuous build process and is FOR REVIEW ONLY.






    Autodesk file viewer