Request

Response

    Autodesk.Viewing.Extensions

    PropertiesManagerExtension

    Use its activate() method to open the Properties UI.

    The extension id is: Autodesk.PropertiesManager

    Examples

    viewer.loadExtension('Autodesk.PropertiesManager')
    

    Methods

    Invoked when the extension gets loaded.

    Returns

    typedescription
    boolean true when the extension loaded successfully.

    unload()

    Invoked when the extension gets unloaded.

    activate()

    Opens the Properties UI.

    deactivate()

    Closes the Properties UI.

    isActive()

    Returns

    typedescription
    boolean true is the properties panel is open.

    setPanel(propertyPanel)

    Overrides the property panel instance.

    Parameters

    propertyPanel*
    * Required

    Returns

    typedescription
    boolean True if the panel or null was set successfully, and false otherwise.

    setDefaultPanel()

    Resets the panel to its default instance.

    getPanel()

    Gets the property panel instance.

    Returns

    typedescription
    object The panel instance.