Contenido principal

gcv

R2026b

Get current 3D scenario viewer

Since R2026b

    Description

    Add-On Required: This feature requires the 3D Scenarios add-on.

    v = gcv(scnro) returns the current viewer for the specified scenario. If no viewer is open, then the function creates a new viewer.

    The current viewer is the default target for functions such as zoomto, follow, and getvisual. Typically, the current viewer is the last viewer object that is created, clicked on, or plotted into.

    Input Arguments

    collapse all

    Scenario, specified as a Scenario object.

    Output Arguments

    collapse all

    Current viewer, returned as a GlobeViewer object.

    Version History

    Introduced in R2026b

    See Also

    Functions