Skip to main content

getEnabledElementByIds

Callable

  • getEnabledElementByIds(viewportId: string, renderingEngineId: string): IEnabledElement

  • Similar to getEnabledElement, but takes the IDs of the renderingEngine and viewport as parameters to return the associated EnabledElement.


    Parameters

    • viewportId: string

      The Id of the viewport

    • renderingEngineId: string

      The Id of the rendering engine.

    Returns IEnabledElement

    The enabled element which is an object that contains the viewport, rendering engine, viewport Id, rendering engine Id, and the Frame of Reference UID.