Request

Response

    Autodesk.Viewing.Extensions

    ExplodeExtension

    new ExplodeExtension()

    Use its activate() method to enable the explode UI.

    The extension id is: Autodesk.Explode

    Examples

    viewer.loadExtension('Autodesk.Explode')
    

    Methods

    load()

    Adds an explode button to the toolbar. When pressed, a slider will be shown which allows changing the model’s explosion value.

    unload()

    Removes the explode button from the toolbar and deactivates the explode state.

    activate()

    Displays the explode UI.

    deactivate()

    Hides the explode UI and resets explode slider.

    isActive()

    Returns

    typedescription
    boolean true is the explode UI is visible.