Request

Response

    Autodesk.Viewing.Extensions
    Version 8 preview
    This page documents a preview of the Viewer SDK v8. APIs and content can still change before the final release.

    DocumentBrowser

    Adds a toolbar button that opens a Panel displaying all models and views available from the loaded Document. The panel allows navigating to any model referenced by the Document.

    The extension id is: Autodesk.DocumentBrowser

    Examples

    viewer.loadExtension('Autodesk.DocumentBrowser')
    

    Methods

    Unloads the current model and then loads the next model in the Document. It may reload the same model if the Document contains only 1 model.

    Parameters

    viewerConfig
    object
    loadOptions
    object

    loadPrevModel(viewerConfig, loadOptions)

    Unloads the current model and then loads the previous model in the Document. It may reload the same model if the Document contains only 1 model.

    Parameters

    viewerConfig
    object
    loadOptions
    object