Request

Response

    Extensions

    Extensions provide a mechanism to write custom code that interacts with the viewer. Each extension should register itself with an extension manager, providing a unique string ID which is then used to load or unload the extension during runtime.

    Core Extensions

    While it is easy to create your own extension, the viewer already provides several extensions you can use in your own implementations. The following table provides a short description of each core extension, together with its ID.

    IDDescription
    Autodesk.Beeline Provides a tool for navigating around the scene by transitioning between different positions
    Autodesk.CAM360 Provides additional UI when your translated files contain CAM data
    Autodesk.Viewing.Collaboration Provides support for real-time collaboration with other clients (also known as Live Review)
    Autodesk.DefaultTools.NavTools Provides standard camera tools for navigating around the scene
    Autodesk.FirstPerson Provides a tool for walking around the scene
    Autodesk.Fusion360.Animation Provides additional UI when your translated files contain Fusion360 animation data
    Autodesk.Viewing.FusionOrbit Provides a tool for Fusion360-like camera orbiting
    Autodesk.Fusion360.Simulation Provides additional UI when your translated files contain Fusion360 simulation data
    Autodesk.Hyperlink Provides additional functionality when the viewed files contain hyperlink data
    Autodesk.Viewing.MarkupsCore Provides tools for annotating 2D and 3D models with arrows, rectangles, text and other shapes
    Autodesk.Measure Provides a tool for taking measurements in 2D and 3D models
    Autodesk.Viewing.RemoteControl Provides support for navigating around the scene using a remote device such as a gamepad
    Autodesk.Section Provides a tool for sectioning 3D models
    Autodesk.Viewing.ZoomWindow Provides a tool for zooming in on a region of scene within a user-specified window

    To learn more about creating and loading extensions, check out the tutorial.