Request

Response

    Autodesk.Viewing.Extensions

    SnappingExtension

    Utility extension that provides access to the Snapper tool.

    The extension id is: Autodesk.Snapping

    Examples

    viewer.loadExtension('Autodesk.Snapping')
    

    Methods

    Load the extension.

    Returns

    typedescription
    Promise that resolves when dependent extension finishes loading.

    unload()

    Unloads the extension. It does not unload dependent extensions.

    Returns

    typedescription
    boolean Always returns true

    activate()

    Unused method.

    Returns

    typedescription
    boolean Always returns true

    deactivate()

    Unused method.

    Returns

    typedescription
    boolean Always returns false