Skip to content

View

View

The View object represents a specific view.

Example
from py_aep import parse

app = parse("project.aep")
view = app.active_viewer.views[0]
print(view.options)

See: https://ae-scripting.docsforadobe.dev/other/view/

Attributes

active

active: bool

When True, indicates if the view is the active view in its viewer. Read-only.

Note: The active locked view index is not persisted in the binary format. It defaults to 0 (first view) and can be changed via set_active() or by setting viewer.active_view_index.

options

options: ViewOptions

Options object for this View. Read-only.

Functions

set_active

set_active() -> None

Make this the active view in its viewer.

This sets the parent viewer's active_view_index to this view's index. If the viewer is associated with a composition, this also affects which view's ROI is used for output module effective dimensions.